Delayed unloading. Remove LocalStorage from proc.

This commit is contained in:
Paul Chote
2011-01-02 15:27:29 +13:00
parent 3674accd0c
commit de5d9abec3
6 changed files with 37 additions and 14 deletions

View File

@@ -45,6 +45,11 @@ namespace OpenRA.Traits
public int DisplayCash;
public int DisplayOre;
public bool CanGiveOre(int amount)
{
return Ore + amount <= OreCapacity;
}
public void GiveOre(int num)
{
Ore += num;