|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--spacewar.SpaceObject | +--spacewar.EnergyPacket
Constructor Summary | |
(package private) |
EnergyPacket(Game theGame,
double xP,
double yP,
double xV,
double yV,
double e)
Advised by: spacewar.Display1.EnergyPacketDA, spacewar.Display2.EnergyPacketDA |
Method Summary | |
(package private) double |
getEnergy()
|
(package private) int |
getSize()
|
(package private) void |
handleCollision(SpaceObject obj)
|
Methods inherited from class spacewar.SpaceObject |
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
EnergyPacket(Game theGame, double xP, double yP, double xV, double yV, double e)
Method Detail |
int getSize()
getSize
in class SpaceObject
double getEnergy()
void handleCollision(SpaceObject obj)
handleCollision
in class SpaceObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |