Example #1
0
 public Level1State(Game1 p_game)
     : base(p_game)
 {
     //aSquare = new Square(p_game, "square");
     //background = new Rectangle(p_game, "b_daisy");
     LoadContent();
 }
Example #2
0
 /// <summary>
 /// Point d’entrée principal pour l’application.
 /// </summary>
 static void Main(string[] args)
 {
     using (Game1 game = new Game1())
     {
         game.Run();
     }
 }
Example #3
0
 //private Song m_backgroundMusic;
 public MainMenuState(Game1 p_game)
     : base(p_game)
 {
     //m_instructions = new Rectangle(p_game, "PhoneGameThumb");
     LoadContent();
 }
Example #4
0
 // Méthodes
 protected AbstractGameState(Game1 p_game)
 {
     this.m_game = p_game;
 }