예제 #1
0
파일: Game1.cs 프로젝트: fabiovianactu/TCC
        protected override void LoadContent()
        {
            spriteBatch    = new SpriteBatch(GraphicsDevice);
            EstadoCorrente = EstadoJogo.Inicio;

            // Carrega Cenario
            new Cenario();
            Cenario.CarregaCenario(this.Content);

            // Carrega Personagem
            new Pontuacao();
            Pontuacao.CarregaPontuacao(this.Content);

            // Carrega plataformas
            new Plataformas();
            Plataformas.CarregaPlataforma(this.Content);

            // Carrega Personagem
            new Personagem();
            Personagem.CarregaPersonagem(this.Content);
        }