Categories > Board > rex_chess

Introduction

Provides some helper methods to get logical position of chess, or to pick chess, or to move chess, etc.

Links


Categories > Board > rex_chessIntroductionLinksDependenceUsageAddRemoveMoveGet logical positionGet other chess's UIDTest conditionsMore samples

Dependence

None

Usage

Add

Action:Add chess adds this chess instance to a board object.

Remove

Action:Remove chess removes chess instance from current board.

Move

These actions change the logical position only, physical position won't be changed.

Get logical position

Get the logical position of this chess by (Expression:LX, Expression:LY, Expression:LZ).

Get the board UID by Expression:BoardUID, return (-1) if chess instance is not on any board.

Get other chess's UID

Test conditions

These test condition would return true if testing pass, these condition will also affect the current SOL.


More samples