|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectrcssjava.gamelog.GameLog
public class GameLog
Parses a game log (rcg file) and uses it to update a world state
| Constructor Summary | |
|---|---|
GameLog(java.lang.String filename)
Open the given game log and construct a parser for it |
|
| Method Summary | |
|---|---|
boolean |
readNext()
Read next record from log file |
void |
setWorldState(WorldState WS)
Set the world state. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public GameLog(java.lang.String filename)
filename - name of .rcg file to open| Method Detail |
|---|
public void setWorldState(WorldState WS)
WS - world statepublic boolean readNext()
true if successful
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||