Class: SnapshotManager
Defined in: packages/kata-core/src/runtime/snapshot.ts:93
Constructors
Constructor
new SnapshotManager(): SnapshotManager;
Returns
SnapshotManager
Methods
migrate()
migrate(raw): GameStateSnapshot;
Defined in: packages/kata-core/src/runtime/snapshot.ts:100
Parameters
raw
any
Returns
registerMigration()
registerMigration(fromVersion, migrator): void;
Defined in: packages/kata-core/src/runtime/snapshot.ts:96
Parameters
fromVersion
number
migrator
Returns
void