示例#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();
        }