yab.agent
Class AbstractFireBrigadeAgent
java.lang.Object
|
+--java.lang.Thread
|
+--yab.agent.Agent
|
+--yab.agent.HumanoidAgent
|
+--yab.agent.PlatoonAgent
|
+--yab.agent.AbstractFireBrigadeAgent
- All Implemented Interfaces:
- Constants, Runnable
- public abstract class AbstractFireBrigadeAgent
- extends PlatoonAgent
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
AbstractFireBrigadeAgent
protected AbstractFireBrigadeAgent(InetAddress address,
int port)
self
protected FireBrigade self()
extinguish
protected void extinguish(ArrayList targets)
throws Agent.ActionCommandException
- Parameters:
targets
- each element of the given targets
must be a burning building.
Agent.ActionCommandException
extinguish
protected void extinguish(Building target)
throws Agent.ActionCommandException
Agent.ActionCommandException
extinguish
protected void extinguish(Building[] targets)
throws Agent.ActionCommandException
Agent.ActionCommandException
extinguish
protected void extinguish(NozzleElement[] targets)
throws Agent.ActionCommandException
Agent.ActionCommandException