MBHaxe/src/rewind/RewindableState.hx
2023-10-08 14:45:24 +05:30

11 lines
310 B
Haxe

package rewind;
import src.MarbleWorld;
interface RewindableState {
function apply(level:MarbleWorld):Void;
function clone():RewindableState;
function getSize():Int;
function serialize(rm:RewindManager, bw:haxe.io.BytesOutput):Void;
function deserialize(rm:RewindManager, br:haxe.io.BytesInput):Void;
}