Example #1
0
        public void update(GameTime gameTime, InputHandlerComponent input, Vector2 moveVector)
        {
            currentWeapon.update(gameTime, input, moveVector);

            if (input.getButton(ButtonType.back, true))
            {
                swap(moveVector);
            }
        }