1package com.runehive.game.world.region;
3import it.unimi.dsi.fastutil.ints.Int2ObjectMap;
4import it.unimi.dsi.fastutil.ints.Int2ObjectOpenHashMap;
15 private final static Int2ObjectMap<RegionDefinition>
DEFINITIONS =
new Int2ObjectOpenHashMap<>(8192);
final int objectFile
The object file id.
final int terrainFile
The terrain file id.
static boolean contains(int region)
Returns the flag if the region exists.
int getHash()
Returns the coordinate hash.
static final Int2ObjectMap< RegionDefinition > DEFINITIONS
The region definitions.
static Int2ObjectMap< RegionDefinition > getDefinitions()
Gets the regional definitions.
RegionDefinition(int hash, int terrainFile, int objectFile)
Constructs a new RegionDefinition with the specified hash, terrain file id, object file id and preloa...
final int hash
The hash of the region coordinates.
int getTerrainFile()
Returns the terrain file id.
int getObjectFile()
Returns the object file id.