protected override void LoadContent() { spriteBatch = new SpriteBatch(GraphicsDevice); TmxMap map = new TmxMap("../../../../Maps/test.tmx"); TileEngine = new TileEngine(map.Width, map.Height, map.Layers[0].Tiles, map.Tilesets[0], map.ObjectGroups); GameServices.AddService(TileEngine); Camera.Initialize(graphics); TileEngine.LoadContent(spriteBatch, Content); Player = new Player("porky", new Vector2(1500, 1500), 32, 32); Player.LoadContent(Content); }