public override void ProcessEvent(TentativeFarmGridOffEvent e)
 {
     // this order of enabling is important
     this.farm.Enabled         = true;
     this.Enabled              = false;
     this.currSelectedTileType = null;
 }
Esempio n. 2
0
 public override void ProcessEvent(TentativeFarmGridOffEvent e)
 {
     this.isTentativeState = false;
     if (e.ApplyChanges)
     {
         this.money = this.tentativeMoney;
     }
 }
Esempio n. 3
0
 public override void ProcessEvent(TentativeFarmGridOffEvent e)
 {
     // apply tentative changes
     if (e.ApplyChanges)
     {
         this.ApplyTentativeGridChanges();
     }
     // call this to truly reenable the grid
     OnEnabled();
 }
Esempio n. 4
0
 public virtual void ProcessEvent(TentativeFarmGridOffEvent e)
 {
 }