blob: 615cea35a296e95847ee2e6a93634d9de92c5040 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
package NET.worlds.scape;
import java.io.IOException;
public class Action_Animation extends Action {
@Override
public Persister trigger(Event e, Persister seqID) {
return null;
}
@Override
public void saveState(Saver s) throws IOException {
assert false;
}
@Override
public void restoreState(Restorer r) throws IOException {
AnimateAction a = new AnimateAction();
r.replace(this, a);
a.cycleTime = (int)r.restoreFloat();
a.cycles = r.restoreInt();
a.frameList = r.restoreString();
}
}
|