org.pilotix.server
Class ServerShip
java.lang.Object
org.pilotix.common.PilotixElement
org.pilotix.common.Ship
org.pilotix.server.ServerShip
- All Implemented Interfaces:
- Transferable
public class ServerShip
- extends Ship
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
nextPosition
protected Vector nextPosition
nextSpeed
protected Vector nextSpeed
radius
protected int radius
command
protected Command command
ServerShip
public ServerShip()
set
public void set(int aShipId,
Vector aPosition,
ServerAngle aDirection,
int theStates)
setCommand
public void setCommand(Command aCommand)
addCommand
public void addCommand(Command aCommand)
computeSpeedFromForces
public void computeSpeedFromForces()
nextFrame
public void nextFrame()
getSpeed
public Vector getSpeed()
getNextPosition
public Vector getNextPosition()
getNextSpeed
public Vector getNextSpeed()
setNextPosition
public void setNextPosition(Vector aPosition)
setNextSpeed
public void setNextSpeed(Vector aSpeed)
getAcceleration
public int getAcceleration()
getCommand
public Command getCommand()
commandPilotixElement
public void commandPilotixElement(IterableArray balls)
setName
public void setName(java.lang.String shipName)
getName
public java.lang.String getName()
Pilotix 2003-2013 - Stilisto : G.C.