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(); }
public Game1() { _Graphics = new Graphics(this); Content.RootDirectory = "Content"; }