DelayedSystem

abstract class DelayedSystem

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

java.lang.Object > DelayedSystem

Field Summary

data2

final Data data2

Field data2.

data

final Data data

Field data.

fullDeltaTime

final float fullDeltaTime

Field fullDeltaTime.

dt

private float dt

Field dt.

Method Detail

DelayedSystem

public public DelayedSystem (final float intervalSec)

Method DelayedSystem.

Parameters:
final float intervalSec

getResourceType

public Data> getResourceType ()

Method getResourceType.

getIntervalSec

public float getIntervalSec ()

Method getIntervalSec.

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

clone

public Resource clone ()

Method clone.