Beginnings of building power tracking

This commit is contained in:
Matthew Bowra-Dean
2009-11-09 21:57:42 +13:00
parent 14e2e3c2eb
commit a96a7523c8
8 changed files with 77 additions and 69 deletions

View File

@@ -11,6 +11,7 @@ namespace OpenRa.Game
public Race Race;
public readonly int Index;
public int Cash;
public int Power;
public Player( int index, int palette, string playerName, Race race )
{
@@ -19,6 +20,7 @@ namespace OpenRa.Game
this.PlayerName = playerName;
this.Race = race;
this.Cash = 10000;
this.Power = 0;
}
public float GetSiloFullness()