Beispiel #1
0
 public void GameOverChecks()
 {
     if (GridManager.IsAnyOtherMoveExist() && !BombPieceManager.IsBombPieceExploded(Stats.MoveCount.CurrentMoveCount))
     {
         SelectorManager.CurrentSelectorObject.SetActive(true);
         InputManager.IsReadyForInput = true;
     }
 }
Beispiel #2
0
 private void Initialize()
 {
     GridManager.Initialize(this, SelectorManager, Stats, ParticleManager);
     SelectorManager.Initialize(this, GridManager, InputManager, SelectorManager, Stats.MoveCount);
     Stats.Initialize(this);
     ParticleManager.Initialize();
     InputManager.Initialize(SelectorManager);
     BombPieceManager.Initialize(this, GridManager);
     ExplosionSystem.Initialize(this, Stats.Score, ParticleManager, GridManager);
 }
Beispiel #3
0
 private void OnDisable()
 {
     BombPieceManager.RemoveBombPiece(this);
 }
Beispiel #4
0
 private void OnEnable()
 {
     BombPieceManager.AddBombPiece(this, mMoveCount.CurrentMoveCount);
 }