public OpenSpaceInfo(int indexId, int spaceId) : base(indexId, spaceId) { this.towerData = J_Tower.GetData(spaceId); stateMachine = new StateMachine(); openSpaceConstructing = new OpenSpaceConstructing(this); }
public OpenSpaceInfo(int indexId, CharacterPrototype proto) : base(indexId, proto) { this.towerData = J_Tower.GetData(proto.charId); stateMachine = new StateMachine(); openSpaceConstructing = new OpenSpaceConstructing(this); }
public OpenSpaceInfo(int indexId, int spaceId) { this.Id = indexId; this.charId = spaceId; this.towerData = J_Tower.GetData(spaceId); this.towerBase = towerData._towerBase; this.towerType = towerData._towerType; stateMachine = new StateMachine(); openSpaceConstructing = new OpenSpaceConstructing(this); }