public Deathmatch() : base() { Projectiles = new List<Projectile>(); BackgroundImages = new List<Sprite>(); BackgroundImagesFar = new List<Sprite>(); BackgroundTracks = new List<Sprite>(); BackgroundGameObjects = new List<GameObject>(); Players = new List<Actor>(); Mailman = new ClientMailman(this); shader = new RenderStates(new Shader(null, "Content/bgPrlx.frag")); Image mapImg = new Image("Content/mapCol.png"); mapBytes = mapImg.Pixels; mapSprite = new Sprite(new Texture(mapImg)); mapWidth = (int)mapImg.Size.X; mapHeight = (int)mapImg.Size.Y; player = new ClientPlayer(this); player.Pos = new Vector2f(46, 62); Players.Add(player); trainSoundExterior = new SoundInstance(Content.GetSound("trainSpeed2.wav"), 1f, 0, 15, true); trainSoundInterior = new SoundInstance(Content.GetSound("trainSpeed0.wav"), 1, 0, 15, true); trainSound = trainSoundExterior; MainGame.Camera.Center = player.Pos - new Vector2f(0, 90); }