示例#1
0
        protected override void LoadContent()
        {
            SpriteBatch = new SpriteBatch(GraphicsDevice);

            var playerAnimation = Textures.Load(TextureNames.PlayerAnimation);
            var whitePixel      = Textures.Load(TextureNames.WhitePixel, new Texture2D(GraphicsDevice, 1, 1));

            whitePixel.SetData(new[] { Color.White });

            Player = new Player();

            Scenes.ChangeScene(TitleScreen.Title);
        }
示例#2
0
 public void ReturnToTitle()
 {
     Scenes.ChangeScene(TitleScreen.Title);
 }
示例#3
0
 public void ExitGame()
 {
     Scenes.ChangeScene(TitleScreen.Title);
 }
示例#4
0
 public void Credits()
 {
     Scenes.ChangeScene(CreditsScene.Title);
 }
示例#5
0
 public void StartAdventure()
 {
     Scenes.ChangeScene(CampScene.Title);
 }