SEdit.Formalisms.World.Preys
Class Prey

java.lang.Object
  extended byAbstractAgent
      extended bySEdit.Formalisms.World.Preys.Prey
All Implemented Interfaces:
Brain

public class Prey
extends AbstractAgent
implements Brain

The prey brain

See Also:
Serialized Form

Field Summary
 PreyBody body
           
 
Constructor Summary
Prey()
           
 
Method Summary
 void activate()
           
 void delete()
           
 void doIt()
          l'activateur des entites
 void end()
           
 WorldEntity getBody()
           
 int getNbPredators()
           
 void setBehaviorFileName(String s)
           
 void setBody(WorldEntity e)
           
 void setNbPredators(int n)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

body

public PreyBody body
Constructor Detail

Prey

public Prey()
Method Detail

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.