Beispiel #1
0
        public void SetTile(TileType type, Point worldPos)
        {
            var tile = type.Create();

            tile.Place(this, worldPos);
            var(x, y)        = worldPos - this.chunk.WorldPosition;
            this.tiles[x, y] = tile;
        }