public InputManager(AvocadoGame game)
     : base(game)
 {
     PreviousKeyboardState = Keyboard.GetState();
     PreviousMouseState = Mouse.GetState();
     keybinds = new Dictionary<string, List<Keys>>();
 }
 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);
 }
Example #4
0
 public InputManager(AvocadoGame game) : base(game)
 {
     PreviousKeyboardState = Keyboard.GetState();
     PreviousMouseState    = Mouse.GetState();
     keybinds = new Dictionary <string, List <Keys> >();
 }