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