TinyLib 0.1.1
Loading...
Searching...
No Matches
tl::Time Class Reference

#include <Time.h>

Public Member Functions

 Time ()
 Time value gets set right away upon creation.
 
 Time (u64 timeValue)
 Probably avoid this for now lol. - I plan to change it later.
 
 ~Time ()
 Nothing to clean up here for now.
 
u64 getTime ()
 Get the current time data from this object.
 
void update ()
 Update the time data to what it should be right now.
 

Static Public Member Functions

static u64 currentTime ()
 Static way to get a current time value.
 

Detailed Description

Definition at line 8 of file Time.h.

Constructor & Destructor Documentation

◆ Time() [1/2]

tl::Time::Time ( )

Time value gets set right away upon creation.

Definition at line 7 of file Time.cpp.

◆ Time() [2/2]

tl::Time::Time ( u64 timeValue)

Probably avoid this for now lol. - I plan to change it later.

Parameters
timeValueWhat number you want the internal time data as.

Definition at line 15 of file Time.cpp.

◆ ~Time()

tl::Time::~Time ( )

Nothing to clean up here for now.

Definition at line 22 of file Time.cpp.

Member Function Documentation

◆ currentTime()

u64 tl::Time::currentTime ( )
static

Static way to get a current time value.

Returns
Current time value.

Definition at line 45 of file Time.cpp.

◆ getTime()

u64 tl::Time::getTime ( )

Get the current time data from this object.

Returns
Time data.

Definition at line 30 of file Time.cpp.

◆ update()

void tl::Time::update ( )

Update the time data to what it should be right now.

Definition at line 37 of file Time.cpp.


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