Engine²
Open-source game engine written in C++.
Loading...
Searching...
No Matches
Example::Component::WorkTime Struct Reference

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

Detailed Description

Tracks how many hours an entity has worked. The component is removed from the entity once maxHours is reached.

Member Data Documentation

◆ hours

uint8_t Example::Component::WorkTime::hours = 0

◆ maxHours

const uint8_t Example::Component::WorkTime::maxHours = 8

The documentation for this struct was generated from the following file:
  • src/engine/examples/BasicCoreUsage/src/main.cpp