Ejemplo n.º 1
0
        public void Tick()
        {
            var player = playerSystem.GetPlayer();

            if (levelLoader.GetCurrentLevel().GetType() == typeof(BattleGroundLevel) && player != null)
            {
                HandleAimingOfShot();
                HandleShotStatusChangeDueToVelocity(player);
            }
        }
Ejemplo n.º 2
0
        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);
            }
        }