|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object game.protocol.Reply game.protocol.OnSideReply
public class OnSideReply
Informs team which side it is playing on.
Invariant: mType == ONSIDE
Nested Class Summary |
---|
Nested classes/interfaces inherited from class game.protocol.Reply |
---|
Reply.ReplyType |
Field Summary |
---|
Fields inherited from class game.protocol.Reply |
---|
log, mServerLog, mType |
Constructor Summary | |
---|---|
OnSideReply(Side t)
|
|
OnSideReply(java.lang.String msg)
|
Method Summary | |
---|---|
Side |
getSide()
Which side is assigned to this team |
java.lang.String |
toString()
|
Methods inherited from class game.protocol.Reply |
---|
factory, getType |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public OnSideReply(java.lang.String msg) throws ParseException
msg
- text of the message
ParseException
- message format is incorrect.public OnSideReply(Side t)
t
- side for this teamMethod Detail |
---|
public java.lang.String toString()
toString
in class java.lang.Object
public Side getSide()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |