public PlayerTile(HughFor game, int mapX, int mapY, int tilesetGid) :
            base(game, mapX, mapY, tilesetGid, TileType.Player)
        {
            Direction       = Direction.None;
            AnimationOffset = Vector2.Zero;
            SetState(PlayerState.Standing);

            HasDied = false;
            HasWon  = false;
        }
        public Multiverse(HughFor game, TmxMap map)
        {
            Game           = game;
            UniverseLayout = map.Properties["layout"];

            BorderTexture = new Texture2D(game.GraphicsDevice, 1, 1);
            BorderTexture.SetData(new[] { Color.Black });

            LayoutHeight = CountChars(UniverseLayout, ';');
            LayoutWidth  = CountChars(UniverseLayout, '|') / LayoutHeight + 1;

            for (int i = 1; i <= LayoutHeight * LayoutWidth; i++)
            {
                Worlds.Add(new World(game, map, i));
            }

            HasWon  = false;
            HasDied = false;
        }
 public TilesetManager(HughFor game)
 {
     Game        = game;
     TmxList     = new List <TmxTileset>();
     TextureList = new List <Texture2D>();
 }