A singleton manager class for time managements.
More...
A singleton manager class for time managements.
Definition at line 8 of file TimeManager.cs.
◆ GameTick()
| void TimeManager.GameTick |
( |
| ) |
|
|
inlineprivate |
Convert delta time to ingame seconds.
Definition at line 45 of file TimeManager.cs.
◆ GetDayOfWeek()
| string TimeManager.GetDayOfWeek |
( |
| ) |
|
|
inlineprivate |
Return the day of the week
- Returns
- (String) dayOfWeek
Definition at line 122 of file TimeManager.cs.
◆ Start()
| void TimeManager.Start |
( |
| ) |
|
|
inlineprivate |
◆ TestAdvanceGameDay()
| void TimeManager.TestAdvanceGameDay |
( |
| ) |
|
|
inline |
TODO: Remove before final product.
Advance 1 game day
Definition at line 171 of file TimeManager.cs.
◆ TestAdvanceGameMinute()
| void TimeManager.TestAdvanceGameMinute |
( |
| ) |
|
|
inline |
TODO: Remove before final product.
Advance 1 game minute
Definition at line 159 of file TimeManager.cs.
◆ Update()
| void TimeManager.Update |
( |
| ) |
|
|
inlineprivate |
◆ UpdateGameSecond()
| void TimeManager.UpdateGameSecond |
( |
| ) |
|
|
inlineprivate |
◆ m_GameDay
| int TimeManager.m_GameDay = 1 |
|
private |
◆ m_GameDayOfWeek
| string TimeManager.m_GameDayOfWeek = "Mon" |
|
private |
◆ m_GameHour
| int TimeManager.m_GameHour = 6 |
|
private |
◆ m_GameMinute
| int TimeManager.m_GameMinute = 30 |
|
private |
◆ m_GameSeason
| Season TimeManager.m_GameSeason = Season.Spring |
|
private |
◆ m_GameSecond
| int TimeManager.m_GameSecond = 0 |
|
private |
◆ m_GameTick
| float TimeManager.m_GameTick = 0f |
|
private |
◆ m_GameYear
| int TimeManager.m_GameYear = 1 |
|
private |
◆ m_IsGameClockPaused
| bool TimeManager.m_IsGameClockPaused = false |
|
private |
The documentation for this class was generated from the following file: