Allocate all domino tile colections: Players,Boneryard,Movements Done (History), All dominoes tiles.
More...
Inherits ITileCollection.
|
List< DominoTileWorld > | GetPlayerDeck (Owner owner) |
|
void | SetupServiceProvider () |
| Set the provider for Service Locator pattern.
|
|
List< DominoTileWorld > | GetPlayerCollection (Owner owner) |
| Get the player collection.
|
|
void | Reset () |
| Reset all tile Coletions.
|
|
void | InitCollections () |
| Setup all collections for the game: Shuffle all tiles and distribute the tiles to the playes. The remaining tiles will saty in the Boneyard.
|
|
void | AddPlayerTile (Owner owner, DominoTileWorld tileWorld) |
| Add Tile to playerDeck (Potencial use on boneyard)
|
|
void | RemovePlayerTile (Owner owner, DominoTileWorld tileWorld) |
| Remove tile from playerDeck.
|
|
bool | HaveTileToMakePlay (Owner owner) |
| Check if the current player deck have a valid tile to play.
|
|
Allocate all domino tile colections: Players,Boneryard,Movements Done (History), All dominoes tiles.
◆ AddPlayerTile()
void GBTemplates.Domino.Controller.TilesColecctions.AddPlayerTile |
( |
Owner | owner, |
|
|
DominoTileWorld | tileWorld ) |
Add Tile to playerDeck (Potencial use on boneyard)
- Parameters
-
◆ GetPlayerCollection()
List< DominoTileWorld > GBTemplates.Domino.Controller.TilesColecctions.GetPlayerCollection |
( |
Owner | owner | ) |
|
Get the player collection.
- Parameters
-
- Returns
◆ HaveTileToMakePlay()
bool GBTemplates.Domino.Controller.TilesColecctions.HaveTileToMakePlay |
( |
Owner | owner | ) |
|
Check if the current player deck have a valid tile to play.
- Parameters
-
- Returns
◆ RemovePlayerTile()
void GBTemplates.Domino.Controller.TilesColecctions.RemovePlayerTile |
( |
Owner | owner, |
|
|
DominoTileWorld | tileWorld ) |
Remove tile from playerDeck.
- Parameters
-
The documentation for this class was generated from the following file:
- C:/UnityDev/Unity - CurrentDev/PERS/domino/Domino-Edu/Assets/DominoTemplate/Scripts/Controllers/Tile/TilesColecctions.cs