A 2D Farming RPG
This is just a simple 2D farming RPG game
Loading...
Searching...
No Matches
GameClock Class Reference
Inheritance diagram for GameClock:
Inheritance graph
Collaboration diagram for GameClock:
Collaboration graph

Private Member Functions

void OnEnable ()
 Subscribe to the AdvanceGameMinuteEvent More...
 
void OnDisable ()
 Unsubscribe from the AdvanceGameMinuteEvent More...
 
void UpdateGameTime (int gameYear, Season gameSeason, int gameDay, string gameDayOfWeek, int gameHour, int gameMinute, int gameSecond)
 Update UI game time More...
 

Private Attributes

TextMeshProUGUI m_TimeText = null
 
TextMeshProUGUI m_DateText = null
 
TextMeshProUGUI m_SeasonText = null
 
TextMeshProUGUI m_YearText = null
 

Detailed Description

Definition at line 4 of file GameClock.cs.

Member Function Documentation

◆ OnDisable()

void GameClock.OnDisable ( )
inlineprivate

Unsubscribe from the AdvanceGameMinuteEvent

Definition at line 22 of file GameClock.cs.

Here is the call graph for this function:

◆ OnEnable()

void GameClock.OnEnable ( )
inlineprivate

Subscribe to the AdvanceGameMinuteEvent

Definition at line 14 of file GameClock.cs.

Here is the call graph for this function:

◆ UpdateGameTime()

void GameClock.UpdateGameTime ( int  gameYear,
Season  gameSeason,
int  gameDay,
string  gameDayOfWeek,
int  gameHour,
int  gameMinute,
int  gameSecond 
)
inlineprivate

Update UI game time

Parameters
gameYear
gameSeason
gameDay
gameDayOfWeek
gameHour
gameMinute
gameSecond

Definition at line 37 of file GameClock.cs.

Here is the caller graph for this function:

Field Documentation

◆ m_DateText

TextMeshProUGUI GameClock.m_DateText = null
private

Definition at line 7 of file GameClock.cs.

◆ m_SeasonText

TextMeshProUGUI GameClock.m_SeasonText = null
private

Definition at line 8 of file GameClock.cs.

◆ m_TimeText

TextMeshProUGUI GameClock.m_TimeText = null
private

Definition at line 6 of file GameClock.cs.

◆ m_YearText

TextMeshProUGUI GameClock.m_YearText = null
private

Definition at line 9 of file GameClock.cs.


The documentation for this class was generated from the following file: