diff options
Diffstat (limited to 'NET/worlds/scape/StopRecordingAction.java')
| -rw-r--r-- | NET/worlds/scape/StopRecordingAction.java | 52 |
1 files changed, 52 insertions, 0 deletions
diff --git a/NET/worlds/scape/StopRecordingAction.java b/NET/worlds/scape/StopRecordingAction.java new file mode 100644 index 0000000..9792e3f --- /dev/null +++ b/NET/worlds/scape/StopRecordingAction.java @@ -0,0 +1,52 @@ +/* */ package NET.worlds.scape; +/* */ +/* */ import NET.worlds.console.BlackBox; +/* */ import java.io.IOException; +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ +/* */ public class StopRecordingAction +/* */ extends Action +/* */ { +/* */ public Persister trigger(Event e, Persister p) +/* */ { +/* 16 */ BlackBox.getInstance().stop(); +/* 17 */ return null; +/* */ } +/* */ +/* */ public Object properties(int index, int offset, int mode, Object value) +/* */ throws NoSuchPropertyException +/* */ { +/* 23 */ return super.properties(index, offset, mode, value); +/* */ } +/* */ +/* 26 */ private static Object classCookie = new Object(); +/* */ +/* */ public void saveState(Saver s) throws IOException +/* */ { +/* 30 */ s.saveVersion(1, classCookie); +/* 31 */ super.saveState(s); +/* */ } +/* */ +/* */ public void restoreState(Restorer r) throws IOException, TooNewException +/* */ { +/* 36 */ switch (r.restoreVersion(classCookie)) +/* */ { +/* */ case 1: +/* 39 */ super.restoreState(r); +/* 40 */ break; +/* */ +/* */ default: +/* 43 */ throw new TooNewException(); +/* */ } +/* */ } +/* */ } + + +/* Location: C:\Program Files (x86)\Worlds Inc\WorldsPlayer - Win7\lib\worlds.jar!\NET\worlds\scape\StopRecordingAction.class + * Java compiler version: 6 (50.0) + * JD-Core Version: 0.7.1 + */
\ No newline at end of file |