Example #1
0
        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(); ;
        }
Example #2
0
 public Platoon(Squad squad)
 {
     this._Squad = squad;
 }
Example #3
0
 internal void Leave(Squad squad)
 {
     if (squad == _Squad)
     {
         EmptyEvent();
         _Squad = null;
     }
 }
Example #4
0
 void ILevels.Leave(Squad squad)
 {
     _Platoon.Leave(squad);
 }