SpatialSystem

abstract class SpatialSystem

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

java.lang.Object > SpatialSystem

Field Summary

spatialData

final SpatialData> spatialData

Field spatialData.

size

final int size

Field size.

position

final Vector3d position

Field position.

ref

final Ref ref

Field ref.

Method Detail

SpatialSystem

public public SpatialSystem (@Nonnull final ResourceType, ECS_TYPE>> resourceType)

Method SpatialSystem.

Parameters:
@Nonnull final ResourceType, ECS_TYPE>> resourceType

tick

public void tick (final float dt, final int systemIndex, @Nonnull final Store store)

Method tick.

Parameters:
final float dt
final int systemIndex
@Nonnull final Store store