protected Building(StateManager stateMgr, Island island, VanillaRTS rts, string selection, Vector3 position) { this.mStateMgr = stateMgr; this.mIsland = island; this.RTS = rts; this.mColoredBlock = (byte)((this.RTS.Faction == Faction.Blue) ? 32 : 31); this.NeededRessources = new Dictionary <byte, int>(); this.Position = position == -Vector3.UNIT_SCALE ? this.mStateMgr.MainState.User.SelectedBlockPos : position; this.Selection = selection; this.NeededRessources = this.mStateMgr.MainState.BuildingMgr.GetNeededRessources(this.Selection); this.Init(); }
public Generator(StateManager stateMgr, Island island, VanillaRTS rts) : base(stateMgr, island, rts, "G") { }
protected Building(StateManager stateMgr, Island island, VanillaRTS rts, string selection) : this(stateMgr, island, rts, selection, -Vector3.UNIT_SCALE) { }
public RobotFactory(StateManager stateMgr, Island island, VanillaRTS rts, Vector3 position) : base(stateMgr, island, rts, "RF", position) { }
public Generator(StateManager stateMgr, Island island, VanillaRTS rts, Vector3 position) : base(stateMgr, island, rts, "G", position) { }
public RobotFactory(StateManager stateMgr, Island island, VanillaRTS rts) : base(stateMgr, island, rts, "RF") { }
public CrystalDrill(StateManager stateMgr, Island island, VanillaRTS rts) : base(stateMgr, island, rts, "CD") { }
public CrystalDrill(StateManager stateMgr, Island island, VanillaRTS rts, Vector3 position) : base(stateMgr, island, rts, "RF", position) { }
public HeadQuarter(StateManager stateMgr, Island island, VanillaRTS rts) : base(stateMgr, island, rts, "HQ") { }
public HeadQuarter(StateManager stateMgr, Island island, VanillaRTS rts, Vector3 position) : base(stateMgr, island, rts, "HQ", position) { }