|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--spacewar.SpaceObject | +--spacewar.Bullet
Constructor Summary | |
(package private) |
Bullet(Game theGame,
double xP,
double yP,
double xV,
double yV)
Advised by: spacewar.Display2.BulletDA, spacewar.Display1.BulletDA |
Method Summary | |
(package private) void |
clockTick()
|
(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 |
Bullet(Game theGame, double xP, double yP, double xV, double yV)
Method Detail |
int getSize()
getSize
in class SpaceObject
void handleCollision(SpaceObject obj)
handleCollision
in class SpaceObject
void clockTick()
clockTick
in class SpaceObject
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |