Class LocalSpawnController
java.lang.Object
com.hypixel.hytale.server.spawning.local.LocalSpawnController
- All Implemented Interfaces:
Component<EntityStore>,Cloneable
-
Field Summary
FieldsFields inherited from interface com.hypixel.hytale.component.Component
EMPTY_ARRAY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()voidsetTimeToNextRunSeconds(double seconds) booleantickTimeToNextRunSeconds(float dt) toString()Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.hypixel.hytale.component.Component
cloneSerializable
-
Field Details
-
timeToNextRunSeconds
private double timeToNextRunSeconds
-
-
Constructor Details
-
LocalSpawnController
public LocalSpawnController()
-
-
Method Details
-
getComponentType
-
setTimeToNextRunSeconds
public void setTimeToNextRunSeconds(double seconds) -
tickTimeToNextRunSeconds
public boolean tickTimeToNextRunSeconds(float dt) -
clone
- Specified by:
clonein interfaceComponent<EntityStore>- Overrides:
clonein classObject
-
toString
-