feat(m5): client-server sync, offline queue and replay playback
This commit is contained in:
@@ -120,6 +120,20 @@ class FakeMatch extends MatchSource {
|
||||
@override
|
||||
int tick(int ticks) => 0;
|
||||
|
||||
@override
|
||||
int stateHash() => _hash;
|
||||
|
||||
final int _hash = 1;
|
||||
|
||||
@override
|
||||
String replayJson() =>
|
||||
'{"v":1,"sim_version":"0.1.0","content_hash":"fnv1a:test","seed":1,'
|
||||
'"mode":"hotseat","players":[],"commands":[],"final_hash":1,'
|
||||
'"duration_ticks":0}';
|
||||
|
||||
@override
|
||||
bool get isPlayback => false;
|
||||
|
||||
@override
|
||||
void dispose() {}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user