SEdit.Formalisms.World.Preys
Class Prey
java.lang.Object
AbstractAgent
SEdit.Formalisms.World.Preys.Prey
- All Implemented Interfaces:
- Brain
- public class Prey
- extends AbstractAgent
- implements Brain
The prey brain
- See Also:
- Serialized Form
Constructor Summary |
Prey()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
body
public PreyBody body
Prey
public Prey()
getNbPredators
public int getNbPredators()
setNbPredators
public void setNbPredators(int n)
setBody
public void setBody(WorldEntity e)
- Specified by:
setBody
in interface Brain
getBody
public WorldEntity getBody()
- Specified by:
getBody
in interface Brain
delete
public void delete()
- Specified by:
delete
in interface Brain
setBehaviorFileName
public void setBehaviorFileName(String s)
- Specified by:
setBehaviorFileName
in interface Brain
activate
public void activate()
end
public void end()
doIt
public void doIt()
- l'activateur des entites
- Specified by:
doIt
in interface Brain
Copyright © J. Ferber, O. Gutknecht All Rights Reserved.