Exemple #1
0
 public MainScene(ContentManager content, GraphicsDeviceManager graphicsManager)
 {
     WorldGen.Initialize(content);
     Stuff.Initialize(content, graphicsManager);
     Sound.LoadContent();
     graphics = graphicsManager;
     onScreenMessages = new OnScreenMessages();
     Camera2d.Position = Stuff.ScreenCenter;
     input = new Input();
     characters = new List<Character>();
     player = new Player(characters);
     bird = new Bird();
     spriteFont = Stuff.Content.Load<SpriteFont>("Fonts\\loadingfont");
 }
Exemple #2
0
 public void ResetGame()
 {
     characters = new List<Character>();
     player = new Player(characters);
     bird = new Bird();
 }