예제 #1
0
        protected override void Initialize()
        {
            player = new Player();
            cube   = new Cube(new Vector3(0, .5f, -3));
            plano  = new Plano(GraphicsDevice);

            // Cria a "chasing camera", que segue o cubo
            InicializaCamera(graphics.GraphicsDevice);

            telas    = new Telas();
            timeRect = new Rectangle(700, 40, 25, 100);
            botoes   = new Botoes();

            base.Initialize();
        }
예제 #2
0
        protected override void Initialize()
        {
            player = new Player();
            cube = new Cube(new Vector3(0, .5f, -3));
            plano = new Plano(GraphicsDevice);

            // Cria a "chasing camera", que segue o cubo
            InicializaCamera(graphics.GraphicsDevice);

            telas = new Telas();
            timeRect = new Rectangle(700, 40, 25, 100);
            botoes = new Botoes();

            base.Initialize();
        }