LegacyProjectileSystems

public class LegacyProjectileSystems

Class LegacyProjectileSystems. Provides legacyprojectilesystems functionality for the Hytale server.

java.lang.Object > LegacyProjectileSystems

Field Summary

projectileComponent

final ProjectileComponent projectileComponent

Field projectileComponent.

modelAsset

final ModelAsset modelAsset

Field modelAsset.

model

final Model model

Field model.

projectileAsset

final Projectile projectileAsset

Field projectileAsset.

transformComponent

final TransformComponent transformComponent

Field transformComponent.

velocityComponent

final Velocity velocityComponent

Field velocityComponent.

boundingBox

final BoundingBox boundingBox

Field boundingBox.

ref

final Ref ref

Field ref.

world

final World world

Field world.

Method Detail

getQuery

public Query getQuery ()

Method getQuery.

onEntityAdded

Method onEntityAdded.

Parameters:
@NonNullDecl final Ref ref
@NonNullDecl final AddReason reason
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

onEntityRemove

Method onEntityRemove.

Parameters:
@NonNullDecl final Ref ref
@NonNullDecl final RemoveReason reason
@NonNullDecl final Store store
@NonNullDecl final CommandBuffer commandBuffer

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

NetworkId

public new NetworkId (store.getExternalData()

Method NetworkId.

Parameters:
store.getExternalData( store.getExternalData(

ModelComponent

public new ModelComponent (model)

Method ModelComponent.

Parameters:
model model

PersistentModel

public new PersistentModel (model.toReference()

Method PersistentModel.

Parameters:
model.toReference( model.toReference(

BoundingBox

public new BoundingBox (model.getBoundingBox()

Method BoundingBox.

Parameters:
model.getBoundingBox( model.getBoundingBox(

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

TickingSystem

public public TickingSystem (@Nonnull final ComponentType projectileComponentType, @Nonnull final ComponentType transformComponentType, @Nonnull final ComponentType velocityComponentType, @Nonnull final ComponentType boundingBoxComponentType)

Method TickingSystem.

Parameters:
@Nonnull final ComponentType projectileComponentType
@Nonnull final ComponentType transformComponentType
@Nonnull final ComponentType velocityComponentType
@Nonnull final ComponentType boundingBoxComponentType

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