|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--Log
Log class, used for writing out a log file of actions.
Field Summary | |
private java.io.FileOutputStream |
output
|
private int |
time
|
Constructor Summary | |
Log()
Log constructor for creating an output file called log.txt |
Method Summary | |
void |
setTime(float t)
setTime method used for setting the current time cycle value |
void |
simpleAction(Command action)
simpleAction method, used for writing the actions out to the log file. |
void |
visualData(ObjectInfo obj)
visualData method, used for writing the visual data to the output file. |
Methods inherited from class java.lang.Object |
|
Field Detail |
private java.io.FileOutputStream output
private int time
Constructor Detail |
public Log()
Method Detail |
public void setTime(float t)
t
- Current cycle numberpublic void visualData(ObjectInfo obj)
obj
- Individual object visual informationpublic void simpleAction(Command action)
action
- Action command to log to the output file
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |