public class DefaultObjectCreationProcess extends SimplePropertyObject implements ISpaceProcess
$clock.| Modifier and Type | Field and Description | 
|---|---|
| protected SimpleValueFetcher | fetcherThe fetcher. | 
| protected double | lastrateThe last rate. | 
| protected double | lasttickThe last executed tick. | 
| protected double | lasttimeThe last executed time. | 
pcs, propertiesID| Constructor and Description | 
|---|
| DefaultObjectCreationProcess()Create a new create food process. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | execute(IClockService clock,
       IEnvironmentSpace space)Executes the environment process | 
| java.lang.Object | getProperty(java.lang.String name)Returns a property. | 
| void | shutdown(IEnvironmentSpace space)This method will be executed by the object before the process is removed
  from the execution queue. | 
| void | start(IClockService clock,
     IEnvironmentSpace space)This method will be executed by the object before the process gets added
  to the execution queue. | 
addPropertyChangeListener, getProperties, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetPropertyNames, hasProperty, setPropertyprotected double lasttick
protected double lasttime
protected double lastrate
protected SimpleValueFetcher fetcher
public DefaultObjectCreationProcess()
public void start(IClockService clock, IEnvironmentSpace space)
start in interface ISpaceProcessclock - The clock.space - The space this process is running in.public void shutdown(IEnvironmentSpace space)
shutdown in interface ISpaceProcessclock - The clock.space - The space this process is running in.public void execute(IClockService clock, IEnvironmentSpace space)
execute in interface ISpaceProcessclock - The clock.space - The space this process is running in.public java.lang.Object getProperty(java.lang.String name)
getProperty in interface IPropertyObjectgetProperty in class SimplePropertyObjectname - name of the property