public class NPCVelocityInstructionSystem extends EntityTickingSystem
System for handling npcvelocityinstruction mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > EntityTickingSystem > NPCVelocityInstructionSystem
Field Summary
npcComponent
final
NPCEntity
npcComponent
Field npcComponent.
velocityComponent
final
Velocity
velocityComponent
Field velocityComponent.
velocity
final
Vector3d
velocity
Field velocity.
velocityConfig
final
VelocityConfig
velocityConfig
Field velocityConfig.
npcRole
final
Role
npcRole
Field npcRole.
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
world
final
World
world
Field world.
transformComponent2
final
TransformComponent
transformComponent2
Field transformComponent2.
world2
final
World
world2
Field world2.
Method Detail
NPCVelocityInstructionSystem
public
public
NPCVelocityInstructionSystem
()
Method NPCVelocityInstructionSystem.
SystemDependency
public
)
new
SystemDependency
(Order.BEFORE, (ClassMethod SystemDependency.
- Parameters:
Order.BEFOREOrder.BEFORE(Class(Class
SystemTypeDependency
public
new
SystemTypeDependency
(Order.AFTER, (SystemType)
Method SystemTypeDependency.
- Parameters:
Order.AFTEROrder.AFTER(SystemType
tick
public
void
tick
(final float dt, final int index, @Nonnull final ArchetypeChunk archetypeChunk, @Nonnull final Store store, @Nonnull final CommandBuffer commandBuffer)
Method tick.
- Parameters:
final floatdtfinal intindex@Nonnull final ArchetypeChunkarchetypeChunk@Nonnull final Storestore@Nonnull final CommandBuffercommandBuffer
getDependencies
public
Set>
getDependencies
()
Method getDependencies.