Property | Type | Description | |
---|---|---|---|
clockRate | float | ||
clockTime | float | ||
day | int | ||
hour | int | ||
minute | int |
Method | Description | |
---|---|---|
AddNow ( int iDay, int iHour, int iMinute ) : int |
Adds the now.
|
|
Advance ( ) : void |
Move the clock forward 1 hour.
|
|
Convert ( int iDay, int iHour, int iMinute ) : int |
Turns a day, hour and minute into a number.
|
|
ConvertNow ( ) : int |
Turns the current day, hour and minute into a number.
|
|
DiffNow ( int iDay, int iHour, int iMinute ) : int |
Compares the day,hour& minute passed with the current time
|
Method | Description | |
---|---|---|
ClockTick ( ) : void |
Clock tick. Activates regeneration, hunger and fatigue methods.
|
|
Update ( ) : void |
public static AddNow ( int iDay, int iHour, int iMinute ) : int | ||
iDay | int | I day. |
iHour | int | I hour. |
iMinute | int | I minute. |
return | int |
public static Convert ( int iDay, int iHour, int iMinute ) : int | ||
iDay | int | I day. |
iHour | int | I hour. |
iMinute | int | I minute. |
return | int |
public static DiffNow ( int iDay, int iHour, int iMinute ) : int | ||
iDay | int | I day. |
iHour | int | I hour. |
iMinute | int | I minute. |
return | int |