public KeepBuilder(GameController input, GameUI ui, CameraMover camera, KeepType type) : base(input, ui, camera, type.MyTypeInstance, Cost.Free) { AbleFront = Color.Blue; cwUI = new BaseCustomWindowUI(ui, type.Name, ""); }
public GateBuilder(GameController input, GameUI ui, CameraMover camera, GateType type) : base(input, ui, camera, type.MyTypeInstance, input.Level.EditorMode ? Cost.Free : type.Cost) { AbleFront = Color.Red; AbleBack = Color.Yellow; cwUI = new BaseCustomWindowUI(ui, type.Name, $"Cost: {type.Cost}"); }
public TreeCutterBuilder(GameController input, GameUI ui, CameraMover camera, TreeCutterType type) : base(input, ui, camera, type.MyTypeInstance, input.Level.EditorMode ? Cost.Free : type.Cost) { cwUI = new BaseCustomWindowUI(ui, type.Name, $"Cost: {type.Cost}"); }
public Destroyer(GameController input, GameUI ui, CameraMover camera) : base(input.Level, new DestroyBuildingType()) { this.Input = input; this.Ui = ui; this.Camera = camera; cwUI = new BaseCustomWindowUI(ui, "Demolish buildings", ""); }
public WallBuilder(GameController input, GameUI ui, CameraMover camera, BuildingType type, WallType myType) : base(input, ui, camera, type, input.Level.EditorMode ? Cost.Free : myType.Cost) { cwUI = new BaseCustomWindowUI(ui, myType.Name, $"Cost: {myType.Cost}"); }