Class Recorder
java.lang.Object
nz.ac.vuw.ecs.swen225.gp22.recorder.Recorder
The recorder for the game. Used to record actions.
- Author:
- Chris
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
Recorder
public Recorder(int lvl, int time) Create a new recorder.- Parameters:
lvl
- the level to recordtime
- the time of the game
-
-
Method Details
-
addAction
Add an action to the recorder.- Parameters:
action
- The action to add.time
- The time of the action.
-
save
public void save()Save the recorded actions to a xml file.
-