|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.pilotix.common.PilotixElement
org.pilotix.common.Ship
org.pilotix.server.ServerShip
public class ServerShip
| Field Summary | |
|---|---|
protected Command |
command
|
protected Vector |
nextPosition
|
protected Vector |
nextSpeed
|
protected int |
radius
|
| Fields inherited from class org.pilotix.common.Ship |
|---|
ACCELERATING, ADD, direction, HIT, NULL, 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 | |
|---|---|
ServerShip()
|
|
| Method Summary | |
|---|---|
void |
addCommand(Command aCommand)
|
void |
commandPilotixElement(IterableArray balls)
|
void |
computeSpeedFromForces()
|
int |
getAcceleration()
|
Command |
getCommand()
|
java.lang.String |
getName()
|
Vector |
getNextPosition()
|
Vector |
getNextSpeed()
|
Vector |
getSpeed()
|
void |
nextFrame()
|
void |
set(int aShipId,
Vector aPosition,
ServerAngle aDirection,
int theStates)
|
void |
setCommand(Command aCommand)
|
void |
setName(java.lang.String shipName)
|
void |
setNextPosition(Vector aPosition)
|
void |
setNextSpeed(Vector aSpeed)
|
| Methods inherited from class org.pilotix.common.Ship |
|---|
getDirection, getId, getRadius, read, set, setId, write |
| Methods inherited from class org.pilotix.common.PilotixElement |
|---|
getPosition, getStates, setStates |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected Vector nextPosition
protected Vector nextSpeed
protected int radius
protected Command command
| Constructor Detail |
|---|
public ServerShip()
| Method Detail |
|---|
public void set(int aShipId,
Vector aPosition,
ServerAngle aDirection,
int theStates)
public void setCommand(Command aCommand)
public void addCommand(Command aCommand)
public void computeSpeedFromForces()
public void nextFrame()
public Vector getSpeed()
public Vector getNextPosition()
public Vector getNextSpeed()
public void setNextPosition(Vector aPosition)
public void setNextSpeed(Vector aSpeed)
public int getAcceleration()
public Command getCommand()
public void commandPilotixElement(IterableArray balls)
public void setName(java.lang.String shipName)
public java.lang.String getName()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
Pilotix 2003-2013 - Stilisto : G.C.