|
||||||||||
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
warbot.kernel.Rocket
public class Rocket
Field Summary | |
---|---|
protected int |
power
|
protected static javax.swing.ImageIcon |
rocketGif
|
Fields inherited from class warbot.kernel.MovableEntity |
---|
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 |
Constructor Summary | |
---|---|
Rocket()
|
|
Rocket(WarbotEnvironment env,
double direction)
|
Method Summary | |
---|---|
void |
doIt()
|
Percept |
makePercept(double dx,
double dy,
double d)
|
Methods inherited from class warbot.kernel.MovableEntity |
---|
getCoveredDistance, getHeading, moving, setHeading, 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, 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 javax.swing.ImageIcon rocketGif
protected int power
Constructor Detail |
---|
public Rocket(WarbotEnvironment env, double direction)
public Rocket()
Method Detail |
---|
public Percept makePercept(double dx, double dy, double d)
makePercept
in class Entity
public void doIt()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |