TimePacketSystem

public class TimePacketSystem extends DelayedSystem

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

java.lang.Object > DelayedSystem > TimePacketSystem

Field Summary

world

final World world

Field world.

worldTimeResource

final WorldTimeResource worldTimeResource

Field worldTimeResource.

Method Detail

TimePacketSystem

public public TimePacketSystem (@Nonnull final ResourceType worldTimeResourceType)

Method TimePacketSystem.

Parameters:
@Nonnull final ResourceType worldTimeResourceType

delayedTick

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

Method delayedTick.

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