public override void LoadContent(GraphicsDevice gd, ContentManager cm) { // Create a new SpriteBatch, which can be used to draw textures. spriteBatch = new SpriteBatch(gd); //testing for text display // http://www.newgrounds.com/audio/listen/568885 victorySound = cm.Load <SoundEffect>("victory.wav"); // http://www.newgrounds.com/audio/listen/135985 failureSound = cm.Load <SoundEffect>("police.wav");//failure.wav"); gameSound = cm.Load <SoundEffect>("ambience.wav"); mainMusic = gameSound.CreateInstance(); mainMusic.IsLooped = true; //mainMusic // TODO: use this.Content to load your game content here //.LoadContent(GraphicsDevice, Content); displayController.LoadContent(cm); npcController.LoadContent(cm); obstacleController.LoadContent(cm); playerController.LoadContent(cm); itemController.LoadContent(cm); bgTexture = cm.Load <Texture2D>("bg.png"); //Initialization for basicEffect basicEffect = new BasicEffect(gd); basicEffect.VertexColorEnabled = true; basicEffect.LightingEnabled = false; //displayController.addDisplay(10, 100, "Hello world 1"); //_fontRenderer = new FontRenderer(fontFile, <Texture2D>("player.png")); }