|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgame.protocol.Request
game.protocol.ControlRequest
game.protocol.SpinRequest
public class SpinRequest
| Nested Class Summary |
|---|
| Nested classes/interfaces inherited from class game.protocol.Request |
|---|
Request.RequestType |
| Field Summary |
|---|
| Fields inherited from class game.protocol.ControlRequest |
|---|
mSide, mTime |
| Fields inherited from class game.protocol.Request |
|---|
log, mClientLog, mType |
| Constructor Summary | |
|---|---|
SpinRequest(int t,
int p,
double av)
|
|
SpinRequest(java.lang.String req)
|
|
| Method Summary | |
|---|---|
void |
dispatch(ISimulatorNet sim)
Dispatch request to the simulator |
double |
getAngularVelocity()
|
int |
getPlayer()
|
java.lang.String |
toString()
|
| Methods inherited from class game.protocol.ControlRequest |
|---|
getSide, getTime, setSide |
| Methods inherited from class game.protocol.Request |
|---|
factory, getType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public SpinRequest(java.lang.String req)
throws ParseException
ParseException
public SpinRequest(int t,
int p,
double av)
throws SCOREException
SCOREException| Method Detail |
|---|
public void dispatch(ISimulatorNet sim)
ControlRequest
dispatch in class ControlRequestsim - simulator modelpublic double getAngularVelocity()
public int getPlayer()
public java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||