Ejemplo n.º 1
0
 // Use this for initialization
 void Start()
 {
     HP            = 30;
     isStaticBonus = true;
     staticEvents  = new List <CoreEvent>(1);
     staticEvents.Add(EventBank.generateFoodStorageEvent(storageSize));
 }
Ejemplo n.º 2
0
 void Destroy()
 {
     staticEvents.Add(EventBank.generateFoodStorageEvent((-1) * storageSize));
 }