public TentativeFarmGrid(FarmGrid farm) : base() { InputManager.Instance.Register(this, TentativeFarmGrid.inputPriority); this.farm = farm; this.SubscribeTo <TileSelectionEvent>(); this.SubscribeTo <TentativeFarmGridApplyChangesRequestEvent>(); this.SubscribeTo <TentativeFarmGridOnEvent>(); this.SubscribeTo <TentativeFarmGridOffEvent>(); this.SubscribeTo <TentativeFarmGridUndoEvent>(); this.SubscribeTo <TentativeFarmGridRedoEvent>(); }
public FarmDefaultTiler(FarmGrid farm) { this.farm = farm; this.RenderLayer = 99; }