FinishedInputManager
This commit is contained in:
parent
2ca391d610
commit
e26e75308d
1 changed files with 2 additions and 1 deletions
|
@ -14,6 +14,7 @@ namespace DangerousD.GameCore
|
|||
{
|
||||
private GraphicsDeviceManager _graphics;
|
||||
private SpriteBatch _spriteBatch;
|
||||
InputManager _inputManager = new InputManager();
|
||||
|
||||
GameState gameState;
|
||||
IHUD MenuGUI;
|
||||
|
@ -47,7 +48,7 @@ namespace DangerousD.GameCore
|
|||
{
|
||||
if (GamePad.GetState(PlayerIndex.One).Buttons.Back == ButtonState.Pressed || Keyboard.GetState().IsKeyDown(Keys.Escape))
|
||||
Exit();
|
||||
|
||||
_inputManager.Update();
|
||||
|
||||
switch (gameState)
|
||||
{
|
||||
|
|
Loading…
Add table
Reference in a new issue