|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectSEdit.SElement
SEdit.SNode
warbot.kernel.Entity
warbot.kernel.MovableEntity
public abstract class MovableEntity
| Field Summary | |
|---|---|
protected static int |
MOVE
|
| Fields inherited from class warbot.kernel.Entity |
|---|
action, actionIn, detectingRange, displaySize, energy, initialEnergy, NULL, radius, showDetect, showEnergyLevel, speed, x, xdisplay, y, ydisplay |
| Fields inherited from class SEdit.SElement |
|---|
comment, descriptor, element, id, label, persistent, structure |
| Method Summary | |
|---|---|
double |
getCoveredDistance()
|
double |
getHeading()
|
boolean |
moving()
|
void |
setHeading(double direction)
|
protected void |
tryMove()
|
| Methods inherited from class warbot.kernel.Entity |
|---|
addInArrow, addOutArrow, decreaseEnergyLevel, delete, distanceFrom, dropEntity, getDetectingRange, getEnergy, getEnvironmentAgent, getInArrows, getName, getOutArrows, getRadius, getShot, getShowDetect, getShowEnergyLevel, getSpeed, getTeam, getX, getY, increaseEnergyLevel, init, isConnectable, makePercept, setDetectingRange, setEnergy, setEnvironmentAgent, setName, setRadius, setShowDetect, setShowEnergyLevel, setSpeed, setTeam, setX, setY, toggleShowDetect, toggleShowEnergyLevel, 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 |
| Field Detail |
|---|
protected static final int MOVE
| Method Detail |
|---|
public double getCoveredDistance()
protected void tryMove()
public final void setHeading(double direction)
public final double getHeading()
public final boolean moving()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||