jadex.micro.examples.dungeonkeeper
Class InitMapProcess

java.lang.Object
  extended by jadex.commons.SimplePropertyObject
      extended by jadex.micro.examples.dungeonkeeper.InitMapProcess
All Implemented Interfaces:
ISpaceProcess, IPropertyObject

public class InitMapProcess
extends SimplePropertyObject
implements ISpaceProcess

Environment process for creating wastes.


Field Summary
static java.lang.String CLAIMED_PATH
           
static java.lang.String DIRT_PATH
           
static java.lang.String DUNGEONHEART
           
static java.lang.String GEMS
           
static java.lang.String GOLD
           
static java.lang.String HATCHERY
           
static java.util.Map imagenames
           
static java.lang.String IMPENETRABLE_ROCK
           
static java.lang.String LAIR
           
protected  double lasttick
          The last tick.
static java.lang.String LAVA
           
static java.lang.String REINFORCED_WALL
           
static java.lang.String ROCK
           
static java.lang.String TREASURY
           
static java.lang.String WATER
           
 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties
 
Fields inherited from interface jadex.application.space.envsupport.environment.ISpaceProcess
ID
 
Constructor Summary
InitMapProcess()
           
 
Method Summary
 void execute(IClockService clock, IEnvironmentSpace space)
          Executes the environment process
 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.
 
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty
 

Field Detail

IMPENETRABLE_ROCK

public static final java.lang.String IMPENETRABLE_ROCK
See Also:
Constant Field Values

ROCK

public static final java.lang.String ROCK
See Also:
Constant Field Values

REINFORCED_WALL

public static final java.lang.String REINFORCED_WALL
See Also:
Constant Field Values

GOLD

public static final java.lang.String GOLD
See Also:
Constant Field Values

GEMS

public static final java.lang.String GEMS
See Also:
Constant Field Values

DIRT_PATH

public static final java.lang.String DIRT_PATH
See Also:
Constant Field Values

CLAIMED_PATH

public static final java.lang.String CLAIMED_PATH
See Also:
Constant Field Values

WATER

public static final java.lang.String WATER
See Also:
Constant Field Values

LAVA

public static final java.lang.String LAVA
See Also:
Constant Field Values

DUNGEONHEART

public static final java.lang.String DUNGEONHEART
See Also:
Constant Field Values

TREASURY

public static final java.lang.String TREASURY
See Also:
Constant Field Values

HATCHERY

public static final java.lang.String HATCHERY
See Also:
Constant Field Values

LAIR

public static final java.lang.String LAIR
See Also:
Constant Field Values

imagenames

public static java.util.Map imagenames

lasttick

protected double lasttick
The last tick.

Constructor Detail

InitMapProcess

public InitMapProcess()
Method Detail

start

public void start(IClockService clock,
                  IEnvironmentSpace space)
This method will be executed by the object before the process gets added to the execution queue.

Specified by:
start in interface ISpaceProcess
Parameters:
clock - The clock.
space - The space this process is running in.

shutdown

public void shutdown(IEnvironmentSpace space)
This method will be executed by the object before the process is removed from the execution queue.

Specified by:
shutdown in interface ISpaceProcess
Parameters:
clock - The clock.
space - The space this process is running in.

execute

public void execute(IClockService clock,
                    IEnvironmentSpace space)
Executes the environment process

Specified by:
execute in interface ISpaceProcess
Parameters:
clock - The clock.
space - The space this process is running in.


Copyright © 2010. All Rights Reserved.