|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object game.protocol.Request game.protocol.ControlRequest game.protocol.PlaceBallRequest
public class PlaceBallRequest
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 | |
---|---|
PlaceBallRequest(int t,
CartesianVect l)
|
|
PlaceBallRequest(java.lang.String req)
|
Method Summary | |
---|---|
void |
dispatch(ISimulatorNet sim)
Dispatch request to the simulator |
CartesianVect |
getLocation()
|
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 PlaceBallRequest(java.lang.String req) throws ParseException
ParseException
public PlaceBallRequest(int t, CartesianVect l) throws SCOREException
SCOREException
Method Detail |
---|
public void dispatch(ISimulatorNet sim)
ControlRequest
dispatch
in class ControlRequest
sim
- simulator modelpublic CartesianVect getLocation()
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 |