public class KernelState
extends java.lang.Object
Constructor and Description |
---|
KernelState(int time,
WorldModel<? extends Entity> model)
Construct a snapshot of the kernel state.
|
Modifier and Type | Method and Description |
---|---|
int |
getTime()
Get the current time.
|
WorldModel<? extends Entity> |
getWorldModel()
Get the world model.
|
public KernelState(int time, WorldModel<? extends Entity> model)
time
- The current time.model
- The world model snapshot.public int getTime()
public WorldModel<? extends Entity> getWorldModel()