From 0ac61a94d06a9dc879e5ca0500608b755604cf8d Mon Sep 17 00:00:00 2001 From: Calcitem Date: Sat, 12 Dec 2020 18:02:16 +0800 Subject: [PATCH] =?UTF-8?q?flutter:=20=E5=8E=BB=E6=8E=89=20position=20?= =?UTF-8?q?=E4=B8=AD=E5=86=97=E4=BD=99=E7=9A=84=20rule=20=E6=88=90?= =?UTF-8?q?=E5=91=98=E5=8F=98=E9=87=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/ui/flutter/lib/mill/position.dart | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/ui/flutter/lib/mill/position.dart b/src/ui/flutter/lib/mill/position.dart index 3700083f..4242ce9a 100644 --- a/src/ui/flutter/lib/mill/position.dart +++ b/src/ui/flutter/lib/mill/position.dart @@ -40,8 +40,6 @@ class StateInfo { } class Position { - Rule rule; - GameResult result = GameResult.pending; List board = List(sqNumber); @@ -417,8 +415,6 @@ class Position { int setPosition(Rule newRule) { result = GameResult.pending; - rule = new Rule(); // TODO - gamePly = 0; rule50 = 0; pliesFromNull = 0;