Constructor
new PieceFactory()
Create a Piece Factory
Parameters:
| Name | Type | Description |
|---|---|---|
args.type |
String | The type of the piece. |
- Source:
Members
build
Build a piece based on the args type.
- Source: