DoopelPonger
Public Member Functions | List of all members
CoopTimer Class Reference

Records the amount of time playing the game, single player or cooperative, so that it can record how long it takes to kill Schmitty Doop. More...

Inheritance diagram for CoopTimer:
Inheritance graph
[legend]
Collaboration diagram for CoopTimer:
Collaboration graph
[legend]

Public Member Functions

void Awake ()
 Initialize variables in the component. More...
 
void ResetTimer ()
 Reset the timer to 0. More...
 
void StartTimer ()
 Reset the timer to 0 and start counting the timer. More...
 
void FixedUpdate ()
 Record the time since StartTimer/RestartTimer has been called. More...
 
string GetFormattedTime ()
 

Detailed Description

Records the amount of time playing the game, single player or cooperative, so that it can record how long it takes to kill Schmitty Doop.

Member Function Documentation

◆ Awake()

void CoopTimer.Awake ( )

Initialize variables in the component.

◆ FixedUpdate()

void CoopTimer.FixedUpdate ( )

Record the time since StartTimer/RestartTimer has been called.

◆ GetFormattedTime()

string CoopTimer.GetFormattedTime ( )
Returns
The time in the format <minutes>:<seconds>.<milliseconds>

◆ ResetTimer()

void CoopTimer.ResetTimer ( )

Reset the timer to 0.

◆ StartTimer()

void CoopTimer.StartTimer ( )

Reset the timer to 0 and start counting the timer.


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