Exemplo n.º 1
0
 public Game1()
 {
     graphics = new GraphicsDeviceManager(this);
     Content.RootDirectory = "Content";
     handlegame = new HandleGame(this, new HandleOptionDelegate(HandleMenuOption));
 }
Exemplo n.º 2
0
 private void StartHandleGame(Level level)
 {
     handlegame = new HandleGame(this, new HandleOptionDelegate(HandleMenuOption));
     handlegame.LoadContent();
     handlegame.CreateLevel(level, TILE_SIZE, new Point(0, 0));
 }