public Level(Game game) { Paused = true; Player = new Player(game.Content.Load<Texture2D>("scott")); BG = new Background(); BG.Textures.Add(game.Content.Load<Texture2D>("Backgrounds/Background 1a")); BG.Scale = 1.4f; BG.Speed = 0.2f; Road = new Background(); Road.Textures.Add(game.Content.Load<Texture2D>("Backgrounds/road")); Road.Speed = 10f; Road.Position = new Vector2(0, 270); Foreground = new Background(); Foreground.Textures.Add(game.Content.Load<Texture2D>("Backgrounds/grass")); Foreground.Position = new Vector2(0, 315); Foreground.Speed = 12f; Foreground.Scale = 2; ObstacleTextures = new Texture2D[2]; ObstacleTextures[0] = game.Content.Load<Texture2D>("barrel"); ObstacleTextures[1] = game.Content.Load<Texture2D>("tevez2"); JumpSound = game.Content.Load<SoundEffect>("Sounds/jump"); Coin = game.Content.Load<SoundEffect>("Sounds/coin"); Song = game.Content.Load<Song>("Music/Plasticidio"); Obstacles = new List<Obstacle>(); Input = new Input(); Camera = new Camera(Util.Width, Util.Height, Player); }