SEdit.Formalisms.World.Preys
Class PredatorBody

java.lang.Object
  extended bySEdit.SElement
      extended bySEdit.SNode
          extended bySEdit.Formalisms.World.WorldEntity
              extended bySEdit.Formalisms.World.MobileEntity
                  extended bySEdit.Formalisms.World.Preys.Animal
                      extended bySEdit.Formalisms.World.Preys.PredatorBody

public class PredatorBody
extends Animal

Titre : Preys Description : Copyright : Copyright (c) 2000 Société :

Version:
1.0
Author:
J. Ferber

Field Summary
 
Fields inherited from class SEdit.Formalisms.World.MobileEntity
BOUND, convDegGrad, convGradDeg, movementType, WRAP
 
Fields inherited from class SEdit.Formalisms.World.WorldEntity
behaviorFileName, brainClass
 
Fields inherited from class SEdit.SElement
comment, descriptor, element, id, label, persistent, structure
 
Constructor Summary
PredatorBody()
           
 
Method Summary
 void showLine(WorldEntity e, Color c)
           
 
Methods inherited from class SEdit.Formalisms.World.Preys.Animal
randomMove
 
Methods inherited from class SEdit.Formalisms.World.MobileEntity
avoidObstacles, detect, directTowards, getDetectingRange, getDirection, getDirectionTo, getDirectionTo, getDistanceTo, getMaxSpeed, getSpeed, init, isDetecting, isTouching, move, moveTo, randomDir, setDetecting, setDetectingRange, setDirection, setMaxSpeed, setRandomCptMax, setSpeed
 
Methods inherited from class SEdit.Formalisms.World.WorldEntity
addInArrow, addOutArrow, afterDoIt, beforeDoIt, bodyDoIt, delete, doIt, getBehaviorFileName, getBrain, getBrainClass, getDistance, getInArrows, getLocation, getOutArrows, getPosition, isConnectable, makeBrain, selfDelete, setBehaviorFileName, setBrain, setBrainClass, toString
 
Methods inherited from class SEdit.SNode
activate, deleteInArrow, deleteOutArrow, initGraphics, reInstall
 
Methods inherited from class SEdit.SElement
dump, getComment, getDescriptor, getGObject, getID, getLabel, getStructure, inspect, setComment, setDescriptor, setGObject, setID, setLabel, setStructure
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

PredatorBody

public PredatorBody()
Method Detail

showLine

public void showLine(WorldEntity e,
                     Color c)
Overrides:
showLine in class WorldEntity


Copyright © J. Ferber, O. Gutknecht All Rights Reserved.