public class RotateObjectSystem extends EntityTickingSystem
System for handling rotateobject mechanics. Systems contain game logic that operates on entities with specific component types.
java.lang.Object > EntityTickingSystem > RotateObjectSystem
Field Summary
transformComponent
final
TransformComponent
transformComponent
Field transformComponent.
rotateObjectComponent
final
RotateObjectComponent
rotateObjectComponent
Field rotateObjectComponent.
rotation2
final
Vector3f
rotation2
Field rotation2.
rotation
final
Vector3f
rotation
Field rotation.
vector3f
final
Vector3f
vector3f
Field vector3f.
Method Detail
RotateObjectSystem
public
public
RotateObjectSystem
(@Nonnull final ComponentType transformComponentType, @Nonnull final ComponentType rotateObjectComponentType)
Method RotateObjectSystem.
- Parameters:
@Nonnull final ComponentTypetransformComponentType@Nonnull final ComponentTyperotateObjectComponentType
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