public void Tick() { var player = playerSystem.GetPlayer(); if (levelLoader.GetCurrentLevel().GetType() == typeof(BattleGroundLevel) && player != null) { HandleAimingOfShot(); HandleShotStatusChangeDueToVelocity(player); } }
public void Tick() { var player = playerSystem.GetPlayer(); if (levelLoader.GetCurrentLevel().GetType() == typeof(BattleGroundLevel) && player != null) { HandleSuspenseOfEnemyHit(player); } }
public void Tick() { var opponent = opponentSystem.GetOpponent(); if (battleManager.BattleTurn == BattleTurn.Opponent && MarbleShotStatus == MarbleShotStatus.Idle) { PrepareMarbleForShot(opponent.GetComponent <Opponent>()); } if (levelLoader.GetCurrentLevel().GetType() == typeof(BattleGroundLevel) && opponent != null) { HandleAimingOfShot(); // HandleShotStatusChangeDueToVelocity(opponent); } }