Package | Description |
---|---|
com.lhkbob.entreri.task |
Modifier and Type | Class and Description |
---|---|
class |
SimpleTask
SimpleTask extends Task adds logic to simplify the creation of tasks that perform the
same operations on each entity that matches a specific component configuration.
|
Modifier and Type | Method and Description |
---|---|
static Task |
Timers.fixedDelta(double dt)
Create a new Task that reports an
ElapsedTimeResult with the provided fixed
time delta. |
static Task |
Timers.measuredDelta()
Create a new Task that reports an
ElapsedTimeResult with the elapsed time
since the start of the task's last invocation. |
Task |
Task.process(EntitySystem system,
Job job)
Invoke task specific operations to process the EntitySystem.
|
Task |
SimpleTask.process(EntitySystem system,
Job job)
The default implementation of process() just invokes
SimpleTask.processEntities(com.lhkbob.entreri.EntitySystem) immediately and returns no
future task. |
Modifier and Type | Method and Description |
---|---|
Job |
Scheduler.createJob(String name,
Task... tasks)
Create a new job with the given name, that will execute the provided
tasks in order.
|
Copyright © 2013. All Rights Reserved.