public class Model
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected boolean |
swigCMemOwn |
Modifier | Constructor and Description |
---|---|
protected |
Model(long cPtr,
boolean cMemoryOwn) |
Modifier and Type | Method and Description |
---|---|
void |
addTraces() |
void |
delete() |
protected void |
finalize() |
protected static long |
getCPtr(Model obj) |
ActionList |
getRunningActionSet()
Get the List of running Actions
|
double |
shareResources(double now)
Share the resources between the actions
|
double |
shareResourcesFull(double now) |
double |
shareResourcesLazy(double now) |
void |
updateActionsState(double now,
double delta)
Update time of actions and eventually their states
|
void |
updateActionsStateFull(double now,
double delta) |
void |
updateActionsStateLazy(double now,
double delta) |
protected static long getCPtr(Model obj)
protected void finalize()
finalize
in class java.lang.Object
public void delete()
public double shareResources(double now)
now
- the current timepublic double shareResourcesLazy(double now)
public double shareResourcesFull(double now)
public void updateActionsState(double now, double delta)
now
- the new current timedelta
- the delta between previous and new current timepublic void updateActionsStateLazy(double now, double delta)
public void updateActionsStateFull(double now, double delta)
public ActionList getRunningActionSet()
public void addTraces()