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