|
Engine²
Open-source game engine written in C++.
|
Tracks how many hours an entity has worked. The component is removed from the entity once maxHours is reached. More...
Public Attributes | |
| const uint8_t | maxHours = 8 |
| uint8_t | hours = 0 |
Tracks how many hours an entity has worked. The component is removed from the entity once maxHours is reached.
| uint8_t Example::Component::WorkTime::hours = 0 |
| const uint8_t Example::Component::WorkTime::maxHours = 8 |