Beispiel #1
0
 // Use this for initialization
 void Start()
 {
     HP            = 10;
     isStaticBonus = true;
     staticEvents  = new List <CoreEvent>(1);
     staticEvents.Add(EventBank.generateMaxPopulationEvent(houseSize));
 }
Beispiel #2
0
 void Destroy()
 {
     staticEvents.Add(EventBank.generateMaxPopulationEvent((-1) * houseSize));
 }