예제 #1
0
        public void WriteCompressedTiles8(Tile[] tiles)
        {
            if (tiles == null)
            {
                throw new ArgumentNullException(nameof(tiles));
            }

            WriteCompressedBytes(BitDepth.Encode8(tiles));
        }
예제 #2
0
        public void WriteTiles8(Tileset tiles)
        {
            if (tiles == null)
            {
                throw new ArgumentNullException(nameof(tiles));
            }

            WriteBytes(BitDepth.Encode8(tiles));
        }