|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--soccerclient.datamanager.Log
Überschrift: Log
Beschreibung: In this class are not used Hear-Messages safed. It's just only used for debuging, but with this class it would be possible to encode and decode your own say-messages.
Copyright: Copyright (c) 2002
Organisation: pm39
Constructor Summary | |
Log(PlayerInfo pi)
Creates a new Log instance |
Method Summary | |
void |
addMessage(java.lang.String str)
Adds a message to Log |
java.lang.String |
getLastMessage()
Returns the last recieved message |
java.lang.String |
getRandomMessage()
Returns a random message |
boolean |
isEmpty()
Returns whether a message is saved |
Methods inherited from class java.lang.Object |
|
Constructor Detail |
public Log(PlayerInfo pi)
Log
instancepi
- a PlayerInfo
Method Detail |
public void addMessage(java.lang.String str)
Log
str
- a String
that is the text of the messagepublic boolean isEmpty()
public java.lang.String getLastMessage()
String
containing the last recieved messagepublic java.lang.String getRandomMessage()
String
containing random message
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |