Package games.stendhal.client.scripting
Class ScriptRecorder
java.lang.Object
games.stendhal.client.scripting.ScriptRecorder
Record chat/commands.
- Author:
- hendrik
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
end()
finishes the recording by writing the footer and closing the stream.void
recordChatLine(String text)
Records a chat/command.void
start()
Starts the recording by writing the header.
-
Constructor Details
-
ScriptRecorder
Creates a new ScriptRecorder.- Parameters:
classname
- Name of Class to record- Throws:
IOException
- in case of an input/output error
-
-
Method Details
-
start
public void start()Starts the recording by writing the header. -
recordChatLine
Records a chat/command.- Parameters:
text
- command to record
-
end
public void end()finishes the recording by writing the footer and closing the stream.
-