|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgame.physics.Body
game.physics.FixedBody
Constructor Summary | |
FixedBody(int playerID,
double radius,
double mass)
|
Method Summary | |
void |
collide(Body body)
|
boolean |
isDead()
|
Methods inherited from class game.physics.Body |
findBearing, findHeading, findHeading, getBounds, getColor, getHeading, getPlayer, getPlayerID, getPosition, init, init, isColliding, normalize, setHeading, setPosition, setPosition |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public FixedBody(int playerID, double radius, double mass)
Method Detail |
public void collide(Body body)
collide
in class Body
Body.collide(game.physics.Body)
public boolean isDead()
isDead
in class Body
Body.isDead()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |