Loading...
Searching...
No Matches
CityBuilderCore.TimingHappeningState Class Reference

Detailed Description

helper class that keeps track of the state of happenings and correctly calls their lifetime methods

Public Member Functions

 TimingHappeningState (TimingHappening happening, bool isActive)
 debug constructor for custom editor, do not use in game
 
 TimingHappeningState (TimingHappeningOccurence happeningOccurence)
 
void Start (float playtime, int seed)
 
bool Check (float playtime, int seed)
 
void End ()
 

Properties

TimingHappeningOccurence HappeningOccurence [get]
 
bool IsActive [get]
 
bool HasText [get]
 
string Title [get]
 
string Description [get]
 

Constructor & Destructor Documentation

◆ TimingHappeningState()

CityBuilderCore.TimingHappeningState.TimingHappeningState ( TimingHappening happening,
bool isActive )
inline

debug constructor for custom editor, do not use in game

Parameters
happening
isActive