예제 #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");
 }
예제 #2
0
 public void ResetGame()
 {
     characters = new List<Character>();
     player = new Player(characters);
     bird = new Bird();
 }