2014-12-27 12:34:55 -07:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
|
|
namespace TrueCraft.API.World
|
|
|
|
|
{
|
|
|
|
|
public interface IRegion : IDisposable
|
|
|
|
|
{
|
|
|
|
|
IDictionary<Coordinates2D, IChunk> Chunks { get; }
|
|
|
|
|
Coordinates2D Position { get; }
|
|
|
|
|
|
2015-06-26 16:27:13 -06:00
|
|
|
|
IChunk GetChunk(Coordinates2D position, bool generate = true);
|
2014-12-27 12:34:55 -07:00
|
|
|
|
void UnloadChunk(Coordinates2D position);
|
|
|
|
|
void Save(string path);
|
|
|
|
|
}
|
|
|
|
|
}
|