private void ActionInputsAlways(InputLabels input)
        {
            switch (input)
            {
            case InputLabels.ToggleMenu:
                TogglePaused();
                break;

            case InputLabels.JumpReleased:
                jumpButton.Released();
                break;

            case InputLabels.MoveReleased:
                move.MoveReleased();
                break;

            case InputLabels.ShootReleased:
                break;

            case InputLabels.ShieldReleased:
                break;

            case InputLabels.MeleeReleased:
                shootButton.Released();
                break;

            default:
                break;
            }
        }
Exemplo n.º 2
0
        private void ActionInputsAlways(InputLabels input)
        {
            switch (input)
            {
            case InputLabels.ToggleMenu:
                TogglePaused();
                break;

            case InputLabels.MoveReleased:
                move.MoveReleased();
                break;

            default:
                break;
            }
        }
Exemplo n.º 3
0
 public void MoveReleased()
 {
     moveComponent.MoveReleased();
 }