NPCVelocityInstructionSystem

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, (Class)

Method SystemDependency.

Parameters:
Order.BEFORE Order.BEFORE
(Class (Class

SystemTypeDependency

public new SystemTypeDependency (Order.AFTER, (SystemType ISystem>)

Method SystemTypeDependency.

Parameters:
Order.AFTER Order.AFTER
(SystemType ISystem>

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 float dt
final int index
@Nonnull final ArchetypeChunk archetypeChunk
@Nonnull final Store store
@Nonnull final CommandBuffer commandBuffer

getDependencies

public Set> getDependencies ()

Method getDependencies.

getQuery

public Query getQuery ()

Method getQuery.