|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use CarrierAgent | |
|---|---|
| appletbots | |
| appletbots.gatherers | |
| Uses of CarrierAgent in appletbots |
|---|
| Methods in appletbots that return CarrierAgent | |
|---|---|
CarrierAgent |
CarriableObject.getCarriedBy()
Returns the agent carrying the object |
| Methods in appletbots with parameters of type CarrierAgent | |
|---|---|
void |
World.dropItem(CarrierAgent agent,
CarriableObject item)
Drops an item from a CarrierAgent |
void |
CarriableObject.setCarriedBy(CarrierAgent carriedBy)
Informs the object about who is carrying it |
| Uses of CarrierAgent in appletbots.gatherers |
|---|
| Subclasses of CarrierAgent in appletbots.gatherers | |
|---|---|
class |
Gatherer
A gatherer agent chooses the closest visible piece of food that is currently not being carried by anyone (and is not already in the agent's home base) and accelerates towards it. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||