示例#1
0
        public static void LoadContent(ContentManager Content)
        {
            startScreen.LoadContent(Content);
            PlayerSprites.LoadContent(Content);
            GoalSprites.LoadContent(Content);
            cursorHandler.LoadContent(Content);
            PlatformSprites.LoadContent(Content);
            helpScreen.LoadContent(Content);
            ArrowSprites.LoadContent(Content);

            effect = Content.Load <SoundEffect>(@"Achive");
            fail   = Content.Load <SoundEffect>(@"Fail");
            song   = Content.Load <Song>(@"LuckyRubberDucky");
        }
示例#2
0
        public static void LoadContent(ContentManager Content)
        {
            startScreen.LoadContent(Content);
            PlayerSprites.LoadContent(Content);
            LeafSprites.LoadContent(Content);
            BranchSprites.LoadContent(Content);
            BugSprites.LoadContent(Content);
            TreeSprites.LoadContent(Content);
            //GoalSprites.LoadContent(Content);
            cursorHandler.LoadContent(Content);
            font = Content.Load <SpriteFont>(@"Score");
            //PlatformSprites.LoadContent(Content);
            //helpScreen.LoadContent(Content);
            //ArrowSprites.LoadContent(Content);

            //effect = Content.Load<SoundEffect>(@"Achive");
            //fail = Content.Load<SoundEffect>(@"Fail");
            //song = Content.Load<Song>(@"LuckyRubberDucky");
        }