Constructor
new Square(args, {{Object|null)})
Create a square
Parameters:
| Name | Type | Description | ||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
args |
Object | The properties of the square.
Properties
|
||||||||||||
{{Object|null)} |
args.piece - The piece on the square. |
Members
constructorName :string
Type:
- string
id :string
Type:
- string
piece
x :number
Type:
- number
y :number
Type:
- number