org.pilotix.server
Class ServerBall

java.lang.Object
  extended by org.pilotix.common.PilotixElement
      extended by org.pilotix.common.Ball
          extended by org.pilotix.server.ServerBall
All Implemented Interfaces:
Transferable

public class ServerBall
extends Ball


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

NEW

public static final int NEW
See Also:
Constant Field Values

NORMAL

public static final int NORMAL
See Also:
Constant Field Values

TO_REMOVE

public static final int TO_REMOVE
See Also:
Constant Field Values
Constructor Detail

ServerBall

public ServerBall(int id,
                  Vector aPosition,
                  Vector aSpeed)
Method Detail

computeSpeedFromForces

public void computeSpeedFromForces()

getNextPosition

public Vector getNextPosition()


artefarita.com/pilotix Pilotix 2003-2013 - Stilisto : G.C.