flutter: 去掉 position 中冗余的 rule 成员变量

This commit is contained in:
Calcitem 2020-12-12 18:02:16 +08:00
parent 22adca36d5
commit 0ac61a94d0
1 changed files with 0 additions and 4 deletions

View File

@ -40,8 +40,6 @@ class StateInfo {
}
class Position {
Rule rule;
GameResult result = GameResult.pending;
List<String> board = List<String>(sqNumber);
@ -417,8 +415,6 @@ class Position {
int setPosition(Rule newRule) {
result = GameResult.pending;
rule = new Rule(); // TODO
gamePly = 0;
rule50 = 0;
pliesFromNull = 0;