World.opIndexAssign

Sets a chunk.

Examples

auto chunk = new Chunk(world, ChunkPosition(1, 2));
world[] = chunk;
assert(world[1, 2] == chunk);

Meta