Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
26 lines (20 sloc) 809 Bytes
using System;
public class UpgradeState {
public float InboundBPS { get; set; }
public float OutboundBPSForAttack { get; set; }
public float OutboundBPS { get; set; }
public float StorageCapacity { get; set; }
public float AdditionalBitValuePerLitNode { get; set; }
public float BitValue { get; set; }
public UpgradeState() {
InboundBPS = 1f;
OutboundBPSForAttack = 1f;
OutboundBPS = 1f;
StorageCapacity = 1f;
AdditionalBitValuePerLitNode = 0f;
BitValue = 1f;
}
public override string ToString() {
return string.Format("[UpgradeState: InboundBPS={0}, OutboundBPSForAttack={1}, OutboundBPS={2}, StorageCapacity={3}, AdditionalBitValuePerLitNode={4}, BitValue={5}]", InboundBPS, OutboundBPSForAttack, OutboundBPS, StorageCapacity, AdditionalBitValuePerLitNode, BitValue);
}
}