LevelProvider: Add documentation for doGarbageCollection() and close()

This commit is contained in:
Dylan K. Taylor 2018-01-02 11:39:51 +00:00
parent 872df446bd
commit 8064152777

View File

@ -151,8 +151,14 @@ interface LevelProvider{
*/
public function setDifficulty(int $difficulty);
/**
* Performs garbage collection in the level provider, such as cleaning up regions in Region-based worlds.
*/
public function doGarbageCollection();
/**
* Performs cleanups necessary when the level provider is closed and no longer needed.
*/
public function close();
}