mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-07 16:49:12 +00:00
Make the world sector repository public.
This commit is contained in:
@@ -123,16 +123,16 @@ public final class World {
|
|||||||
*/
|
*/
|
||||||
private int releaseNumber;
|
private int releaseNumber;
|
||||||
|
|
||||||
/**
|
|
||||||
* This world's {@link SectorRepository}.
|
|
||||||
*/
|
|
||||||
private final SectorRepository sectorRepository = new SectorRepository(false);
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The scheduler.
|
* The scheduler.
|
||||||
*/
|
*/
|
||||||
private final Scheduler scheduler = new Scheduler();
|
private final Scheduler scheduler = new Scheduler();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* This world's {@link SectorRepository}.
|
||||||
|
*/
|
||||||
|
private final SectorRepository sectorRepository = new SectorRepository(false);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Creates the world.
|
* Creates the world.
|
||||||
*/
|
*/
|
||||||
@@ -214,6 +214,15 @@ public final class World {
|
|||||||
return releaseNumber;
|
return releaseNumber;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Gets this world's {@link SectorRepository}.
|
||||||
|
*
|
||||||
|
* @return The sector repository.
|
||||||
|
*/
|
||||||
|
public SectorRepository getSectorRepository() {
|
||||||
|
return sectorRepository;
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Initialises the world by loading definitions from the specified file system.
|
* Initialises the world by loading definitions from the specified file system.
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user