/// <summary> /// The main entry point for the application. /// </summary> static void Main(string[] args) { using (LeGame game = new LeGame()) { game.Run(); } }
public InputHandler(Game game) : base(game) { this.game = (LeGame)game; previousMouseState = Mouse.GetState(); currentMouseState = Mouse.GetState(); previousKeyboardState = Keyboard.GetState(); currentKeyboardState = Keyboard.GetState(); }