PhysicsValuesAddSystem

public class PhysicsValuesAddSystem extends HolderSystem

System for handling physicsvaluesadd mechanics. Systems contain game logic that operates on entities with specific component types.

java.lang.Object > HolderSystem > PhysicsValuesAddSystem

Field Summary

physicsValues

final PhysicsValues physicsValues

Field physicsValues.

modelComponent

final ModelComponent modelComponent

Field modelComponent.

Method Detail

PhysicsValuesAddSystem

public public PhysicsValuesAddSystem (final ComponentType physicsValuesComponentType)

Method PhysicsValuesAddSystem.

Parameters:
final ComponentType physicsValuesComponentType

SystemDependency

public new SystemDependency (Order.AFTER, ModelSystems.SetRenderedModel.class)

Method SystemDependency.

Parameters:
Order.AFTER Order.AFTER
ModelSystems.SetRenderedModel.class ModelSystems.SetRenderedModel.class

getDependencies

public Set> getDependencies ()

Method getDependencies.

onEntityAdd

public void onEntityAdd (@Nonnull final Holder holder, @Nonnull final AddReason reason, @Nonnull final Store store)

Method onEntityAdd.

Parameters:
@Nonnull final Holder holder
@Nonnull final AddReason reason
@Nonnull final Store store

onEntityRemoved

public void onEntityRemoved (@Nonnull final Holder holder, @Nonnull final RemoveReason reason, @Nonnull final Store store)

Method onEntityRemoved.

Parameters:
@Nonnull final Holder holder
@Nonnull final RemoveReason reason
@Nonnull final Store store

getQuery

public Query getQuery ()

Method getQuery.