mirror of
https://github.com/2006-Scape/apollo.git
synced 2026-07-03 00:38:21 +00:00
Make the world sector repository public.
This commit is contained in:
@@ -123,16 +123,16 @@ public final class World {
|
||||
*/
|
||||
private int releaseNumber;
|
||||
|
||||
/**
|
||||
* This world's {@link SectorRepository}.
|
||||
*/
|
||||
private final SectorRepository sectorRepository = new SectorRepository(false);
|
||||
|
||||
/**
|
||||
* The scheduler.
|
||||
*/
|
||||
private final Scheduler scheduler = new Scheduler();
|
||||
|
||||
/**
|
||||
* This world's {@link SectorRepository}.
|
||||
*/
|
||||
private final SectorRepository sectorRepository = new SectorRepository(false);
|
||||
|
||||
/**
|
||||
* Creates the world.
|
||||
*/
|
||||
@@ -214,6 +214,15 @@ public final class World {
|
||||
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.
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user