Class ElementCharacteristics

java.lang.Object
eu.su.mas.dedale.env.mapElements.ElementCharacteristics
All Implemented Interfaces:
Serializable

public abstract class ElementCharacteristics extends Object implements Serializable
This class contain, for each element on the map, its characteristics

- Treasures (gold and diamond) : lock status - Well : detection radius

Author:
hc
See Also:
  • Constructor Details

    • ElementCharacteristics

      public ElementCharacteristics(String name, int radius)
  • Method Details

    • getRadius

      public int getRadius()
      Returns:
      the influence radius of the given component (0,1,2,..)
    • getName

      public String getName()
      Returns:
      the name of the component
    • toString

      public String toString()
      Overrides:
      toString in class Object