blob: 1450f6e60e4630ab207a595da31ed6e805ab7590 [file] [log] [blame]
// Copyright 2015 The Vanadium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
part of proto;
class ProtoLog extends GameLog {
@override
void addToLogCb(List<GameCommand> log, GameCommand newCommand) {
update(newCommand);
}
@override
List<GameCommand> updateLogCb(
List<GameCommand> current, List<GameCommand> other, int mismatchIndex) {
assert(false); // This game can't have conflicts.
return current;
}
@override
void close() {}
}