Skip to content

Commit

Permalink
Update description
Browse files Browse the repository at this point in the history
  • Loading branch information
rexrainbow committed Dec 5, 2024
1 parent fc14797 commit dbbd392
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/docs/board-miniboard.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ These world properties of chess will be changed with container.
- Scroll factor
- Mask

Bounds and origin will change after adding chess.

#### Remove chess

- Remove chess object from board
Expand All @@ -132,6 +134,8 @@ These world properties of chess will be changed with container.
```
- `destroy` : Set `true` to desrtoy chess object.

Bounds and origin will change after removing chess.

### Set origin

- Set origin tileXY by offset tileXY of all chess.
Expand All @@ -153,6 +157,8 @@ These world properties of chess will be changed with container.
miniBoard.setOrigin('top-left');
```

Position of this miniboard will change

### Get all chess

```javascript
Expand Down

0 comments on commit dbbd392

Please sign in to comment.