コード例 #1
0
 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);
 }
コード例 #3
0
 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> >();
 }