Exemplo n.º 1
0
        public Track1(ContentManager contentMgr, Graphics graphic)
        {
            graphics = graphic.GDM;
            device = graphics.GraphicsDevice;
            spriteBatch = new SpriteBatch(device);

            hud = new HUD(contentMgr);
            landscape = contentMgr.Load<Model>("Models\\trackeight_justtrack");
            buggyModel = contentMgr.Load<Model>("Models\\buggy");
            textFont = contentMgr.Load<SpriteFont>("Courier New");
            curAcc = 0;
            SetUpCamera();
        }
Exemplo n.º 2
0
 public Game1()
 {
     _Graphics = new Graphics(this);
     Content.RootDirectory = "Content";
 }