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