public Levels(MapPrototype map_prototype, Squad squad) { _Position = 0.0f; _Id = Guid.NewGuid(); this._MapPrototype = map_prototype; _Stations = new Queue<Station>(_MapPrototype.Stations); _StageMachine = new Regulus.Utility.StageMachine(); _Platoon = new Platoon(squad); _Platoon.EmptyEvent += () => { ReleaseEvent(); }; _Platoons = new Utility.Updater(); ; }
public Platoon(Squad squad) { this._Squad = squad; }
internal void Leave(Squad squad) { if (squad == _Squad) { EmptyEvent(); _Squad = null; } }
void ILevels.Leave(Squad squad) { _Platoon.Leave(squad); }