public InputManager(AvocadoGame game)
     : base(game)
 {
     PreviousKeyboardState = Keyboard.GetState();
     PreviousMouseState = Mouse.GetState();
     keybinds = new Dictionary<string, List<Keys>>();
 }
예제 #2
0
 public SceneManager(AvocadoGame game) : base(game)
 {
     scenes      = new Dictionary <string, Scene>();
     spriteBatch = new SpriteBatch(GraphicsDevice);
 }
 public SceneManager(AvocadoGame game)
     : base(game)
 {
     scenes = new Dictionary<string, Scene>();
     spriteBatch = new SpriteBatch(GraphicsDevice);
 }
예제 #4
0
 public InputManager(AvocadoGame game) : base(game)
 {
     PreviousKeyboardState = Keyboard.GetState();
     PreviousMouseState    = Mouse.GetState();
     keybinds = new Dictionary <string, List <Keys> >();
 }