public void update(GameTime gameTime, InputHandlerComponent input, Vector2 moveVector) { currentWeapon.update(gameTime, input, moveVector); if (input.getButton(ButtonType.back, true)) { swap(moveVector); } }
public void update(GameTime gameTime, InputHandlerComponent input, Vector2 moveVector) { currentWeapon.update(gameTime, input, moveVector); if (input.getButton(ButtonType.back, true)) { swap(moveVector); } }