public void CreateLevel(char levelSymbol, int x, int y) { switch (levelSymbol) { case 'X': Exit =new LevelObject(LoadHelper.Textures[TextureEnum.Exit],new Vector2(x,y)); break; case 'L': levelObjects.Add(new LevelObject(LoadHelper.Textures[TextureEnum.Clouds], new Vector2(x, y))); break; } }