Contents
Class RoleSystems.BehaviourTickSystem
java.lang.Object
com.hypixel.hytale.component.system.System<EntityStore>
com.hypixel.hytale.component.system.tick.TickingSystem<EntityStore>
com.hypixel.hytale.server.npc.systems.RoleSystems.BehaviourTickSystem
- All Implemented Interfaces:
ISystem<EntityStore>, TickableSystem<EntityStore>
- Enclosing class:
RoleSystems
A ticking system that handles updating the roles of NPC entities
-
Field Summary
Fields inherited from interface ISystem
EMPTY_ARRAY -
Constructor Summary
ConstructorsConstructorDescriptionBehaviourTickSystem(ComponentType<EntityStore, NPCEntity> npcComponentType, ComponentType<EntityStore, StepComponent> stepComponentType) Default Constructor for aRoleSystems.BehaviourTickSysteminstance -
Method Summary
Modifier and TypeMethodDescriptionvoidtick(float dt, int systemIndex, Store<EntityStore> store) Required reading:CommandBufferMethods inherited from class System
getComponentRegistrations, getResourceRegistrations, registerResource, registerResourceMethods inherited from class Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface ISystem
getDependencies, getGroup, onSystemRegistered, onSystemUnregistered
-
Constructor Details
-
BehaviourTickSystem
public BehaviourTickSystem(@Nonnull ComponentType<EntityStore, NPCEntity> npcComponentType, @Nonnull ComponentType<EntityStore, StepComponent> stepComponentType) Default Constructor for aRoleSystems.BehaviourTickSysteminstance- Parameters:
npcComponentType- TheNPCEntitycomponent typestepComponentType- TheStepComponentcomponent type
-
-
Method Details
-
tick
Description copied from class:TickingSystem- Specified by:
tickin interfaceTickableSystem<EntityStore>- Specified by:
tickin classTickingSystem<EntityStore>- Parameters:
dt- The delta time in seconds.systemIndex- The index of this system, used for faster lookups inStore.
-