|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectsema.Element
sema.Agent
modelling.GrowingAgent
Agent whose size keeps increasing until a maximum size il reached.
| Nested Class Summary | |
protected class |
GrowingAgent.Growing
Action of growing. |
| Nested classes inherited from class sema.Agent |
Agent.Action |
| Nested classes inherited from class sema.Element |
Element.ElementEvent |
| Field Summary | |
protected GrowingAgent.Growing |
growing
Action of growing of that element, with his personnal parameters. |
| Fields inherited from class sema.Element |
id, world |
| Constructor Summary | |
GrowingAgent(World world,
Area area,
float delay,
java.awt.Image image,
float reachableSize,
float timeToGrow)
Creates a new growing agent, with a given time to incrase his size by a factor of 1.1, and the reachable size, with the convention that the initial size of the agent is 1. |
|
| Methods inherited from class sema.Agent |
acceptAction, getDelay, registerAction, setDelay, unregisterAction |
| Methods inherited from class sema.Element |
canTake, compareTo, death, draw, getArea, getDrawingPriority, getHeight, getIcon, getImage, getKind, getName, getProperties, highlight, highlight, isMarked, kill, setDrawingPriority, setHeight, setKind, setMarked, setProperties, toString, union |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
protected GrowingAgent.Growing growing
| Constructor Detail |
public GrowingAgent(World world,
Area area,
float delay,
java.awt.Image image,
float reachableSize,
float timeToGrow)
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||