ChessStep class

A move 招法

Constructors

ChessStep(int hand, String move, {String? code = '', String fen = '', String fenPosition = '', String description = '', bool isEat = false, bool isCheckMate = false, int round = 0})
constructor of a move

Properties

code String
行子 仅作备用
final
description String
落着备注
final
fen String
该步行走前的状态
final
fenPosition String
该步行走前的力子位置图
final
hand int
落着选手
final
hashCode int
The hash code for this object.
no setterinherited
isCheckMate bool
该步是否将军
final
isEat bool
该步是否吃子
final
move String
着法
final
round int
当前回合数
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toChineseString() String
translate this move to chinese
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited