A board-container to group chess and move them together.
Categories > Board > rex_miniboardIntroductionLinksDependenceUsageSetup layoutChess groupAdd chessDestroyRelease chessPut on the main boardPut-able testingPull out from main boardOn main boardPin chessLogical and physical positionLayerSOLColor
Puts one of board-layout plugin
into project. Each board object should have a board-layout object.
Mini board and rex_board could share the same board-layout.
Assign board-layout object manually by Action:Setup layout
if the project has more than one board, and each board has different board-layout.
A mini board object is a chess group.
Action:Create chess
, or Action:Add chess
, to add chess into this mini board.
Put mini board at (5,8) on main board, Chess at (-1,-2,1) on mini board will be placed at (4,6,1) on main board
Condition:On chess kicked
will be triggered when adding a chess to an occupied cell.
All chess in this mini board will be destroyed when the mini board is destroyed.
Action:Release all chess
, to release the reference of chess in this mini board. These chess will still exist.
Action:Put
, or Action:Put back
If this min board is on main board already
Run put-able testing of all chess
Put-able, all test results are true
Condition:On putting accepted
Not Put-able, any test result are false
If Recover = true
Trigger Condition:On putting rejected
Condition:Is putting accepted
returns true if putable.
Action:Put
, Action:Put back
or Condition:Can put
will run one of put-able testing for each chess on min board.
None
: always returns true.
Inside
: cell is inside main board.
Empty
: cell is empty.
Putable
: get put-able result by event Condition:On put-able request
Triggers Condition:On put-able request
for each chess
Expression:RequestChessUID
Expression:RequestMainBoardUID
Expression:RequestLX
, Expression:RequestLY
, Expression:RequestLZ
)Action:Set put-able
, or Action:Set put-able by number
to return put-able result of this chess
Action:Set put-able
called)Put-able of mini board
Action:Pull out
to put out this mini board from main board, i.e. remove the logical position of chess in this mini board.
Do nothing if this mini board is not on any main board.
Condition:On the board
returns true if this mini board is at a main board.Expression:LX
, Expression:LY
) : logical position of this mini board on main boardSet property Pin mode
to Yes
to pin chess to mini board.
Expression:UID2LX
, Expression:UID2LY
, Expression:UID2LZ
)Expression:UID2PX
, Expression:UID2PY
)Action:Move all to layer
, to move this miniboard and all chess to another layer.
Pick chess which are in mini board
Condition:Pick chess
Action:Pick chess
Condition:Pick all chess
Action:Pick all chess
Pick mini board by chess
Condition:Pick mini board
Property Color
is only used to identify the different mini board in layout editor.