private static void WriteTilesetTile(ContentWriter output, TiledMapTilesetTileContent tilesetTile)
        {
            output.Write(tilesetTile.LocalIdentifier);

            output.Write(tilesetTile.Frames.Count);
            foreach (var frame in tilesetTile.Frames)
            {
                output.Write(frame.TileIdentifier);
                output.Write(frame.Duration);
            }

            output.WriteTiledMapProperties(tilesetTile.Properties);
        }
        private static void WriteTilesetTile(ContentWriter writer, TiledMapTilesetTileContent tilesetTile)
        {
            writer.Write(tilesetTile.LocalIdentifier);
            writer.Write(tilesetTile.Type);
            writer.Write(tilesetTile.Frames.Count);
            writer.Write(tilesetTile.Objects.Count);

            foreach (var @object in tilesetTile.Objects)
            {
                WriteObject(writer, @object);
            }

            foreach (var frame in tilesetTile.Frames)
            {
                writer.Write(frame.TileIdentifier);
                writer.Write(frame.Duration);
            }

            writer.WriteTiledMapProperties(tilesetTile.Properties);
        }
 internal void AddAnimatedTile(TiledMapTilesetTileContent tile)
 {
     _animatedTilesetTiles.Add(tile);
 }