Package zombie.vehicles
Class VehiclesDB2
java.lang.Object
zombie.vehicles.VehiclesDB2
public final class VehiclesDB2
extends java.lang.Object
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interface
VehiclesDB2.IImportPlayerFromOldDB
static interface
VehiclesDB2.ThrowingBiConsumer
-
Field Summary
Fields Modifier and Type Field Description static VehiclesDB2
instance
static int
INVALID_ID
-
Constructor Summary
Constructors Constructor Description VehiclesDB2()
-
Method Summary
Modifier and Type Method Description void
addVehicle(BaseVehicle baseVehicle)
void
importPlayersFromOldDB(VehiclesDB2.IImportPlayerFromOldDB iImportPlayerFromOldDB)
void
init()
boolean
isChunkSeen(int int1, int int2)
boolean
isVehicleLoaded(BaseVehicle baseVehicle)
void
loadChunk(IsoChunk chunk)
void
removeVehicle(BaseVehicle baseVehicle)
void
renderDebug(ZombiePopulationRenderer zombiePopulationRenderer)
void
Reset()
void
setChunkSeen(int int1, int int2)
void
setForceSave()
void
setVehicleLoaded(BaseVehicle baseVehicle)
void
setVehicleUnloaded(BaseVehicle baseVehicle)
void
unloadChunk(IsoChunk chunk)
void
updateMain()
void
updateVehicle(BaseVehicle baseVehicle)
void
updateVehicleAndTrailer(BaseVehicle baseVehicle)
void
updateWorldStreamer()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
INVALID_ID
public static final int INVALID_ID- See Also:
- Constant Field Values
-
instance
-
-
Constructor Details
-
VehiclesDB2
public VehiclesDB2()
-
-
Method Details
-
init
public void init() -
Reset
public void Reset() -
updateMain
public void updateMain() throws java.io.IOException- Throws:
java.io.IOException
-
updateWorldStreamer
public void updateWorldStreamer() -
setForceSave
public void setForceSave() -
renderDebug
-
setChunkSeen
public void setChunkSeen(int int1, int int2) -
isChunkSeen
public boolean isChunkSeen(int int1, int int2) -
setVehicleLoaded
-
setVehicleUnloaded
-
isVehicleLoaded
-
loadChunk
- Throws:
java.io.IOException
-
unloadChunk
-
addVehicle
-
removeVehicle
-
updateVehicle
-
updateVehicleAndTrailer
-
importPlayersFromOldDB
-