|
ClassicCityBuilderKit 1.9.4
|
used to describe a timeframe in game time using a timing unit
for example a condition with Unit:Day and Number:3 will be active on the 3rd day every month
can be combined in TimingHappeningOccurence to define when a happening is active
Public Member Functions | |
| bool | Check (float playtime, int seed) |
| checks if the condition is currently met | |
Public Attributes | |
| TimingUnit | Unit |
| int | Number = 1 |
| int | NumberFrom |
| int | NumberTill |
| double | Chance = 1 |
|
inline |
checks if the condition is currently met
| playtime | game time to check |
| seed | seed used for conditions that have a chance < 1 |