|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.pilotix.common.PilotixElement org.pilotix.common.Ball org.pilotix.server.ServerBall
public class ServerBall
Field Summary | |
---|---|
static int |
NEW
|
static int |
NORMAL
|
static int |
TO_REMOVE
|
Fields inherited from class org.pilotix.common.Ball |
---|
ADD, lengthInByte, REMOVE, speed |
Fields inherited from class org.pilotix.common.PilotixElement |
---|
id, position, states |
Fields inherited from interface org.pilotix.common.Transferable |
---|
AREA, BALL, COMMAND, INFO, SHIP |
Constructor Summary | |
---|---|
ServerBall(int id,
Vector aPosition,
Vector aSpeed)
|
Method Summary | |
---|---|
void |
computeSpeedFromForces()
|
Vector |
getNextPosition()
|
Methods inherited from class org.pilotix.common.Ball |
---|
getRadius, getSpeed, nextFrame, read, write |
Methods inherited from class org.pilotix.common.PilotixElement |
---|
getId, getPosition, getStates, setStates |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int NEW
public static final int NORMAL
public static final int TO_REMOVE
Constructor Detail |
---|
public ServerBall(int id, Vector aPosition, Vector aSpeed)
Method Detail |
---|
public void computeSpeedFromForces()
public Vector getNextPosition()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |