Constructor
new TileFactory()
Applications must not call this constructor. It is an interface class and is not meant to be instantiated
directly.
- Source:
Methods
createTile(sector, level, row, column)
Creates a tile for a specified sector, level and row and column within that level.
Implementers of this interface must implement this function.
Parameters:
Name | Type | Description |
---|---|---|
sector |
Sector | The sector the tile spans. |
level |
Level | The level the tile is a member of. |
row |
Number | The tile's row within the specified level. |
column |
Number | The tile's column within the specified level. |
- Source:
Throws:
-
If the specified sector is null or undefined.
- Type
- ArgumentError