Class Tile¶
Defined in File Tile.hpp
Class Documentation¶
-
class Tile¶
Public Functions
-
Tile() = default¶
-
~Tile() = default¶
-
void SetInventory(size_t food, size_t linemate, size_t deraumere, size_t sibur, size_t mendiane, size_t phiras, size_t thystame)¶
Set the Inventory of the tile.
- Parameters:
food – Contain the number of food to set
linemate – Contain the number of linemate to set
deraumere – Contain the number of deraumere to set
sibur – Contain the number of sibur to set
mendiane – Contain the number of mendiane to set
phiras – Contain the number of phiras to set
thystame – Contain the number of thystame to set
-
void SetPosition(int x, int y)¶
Set the Position of the tile.
- Parameters:
x – Contain the position x of the tile
y – Contain the position y of the tile
-
Tile() = default¶