import '../models/game_event.dart'; import '../models/player.dart'; import 'player_driver.dart'; /// Description: 在线玩家驱动 /// Time : 05/06/2023 Saturday /// Author : liuyuqi.gov@msn.cn class DriverOnline extends PlayerDriver { DriverOnline(Player player) : super(player) { canBacktrace = false; } @override Future tryDraw() { return Future.value(true); } @override Future move() { player.manager.add(GameLockEvent(true)); throw UnimplementedError(); } @override Future ponder() { throw UnimplementedError(); } @override void completeMove(String move) { throw UnimplementedError(); } @override Future tryRetract() { throw UnimplementedError(); } }