Tramway SDK
Namespaces | Typedefs | Functions
core.h File Reference
#include <cstdint>

Go to the source code of this file.

Namespaces

namespace  tram
 Serialization, i.e.
 
namespace  tram::Core
 

Typedefs

typedef uint32_t tram::id_t
 

Functions

id_t tram::GenerateID ()
 Generates a unique ID number. More...
 
uint32_t tram::GetTick ()
 Returns the current tick. More...
 
uint32_t tram::GetFrame ()
 Returns the current frame. More...
 
double tram::GetTickTime ()
 Same as GetFrameTime() More...
 
double tram::GetFrameTime ()
 Returns the time at the start of the current frame. More...
 
uint32_t tram::GetDeltaTick ()
 Returns the tick delta. More...
 
float tram::GetDeltaTime ()
 Returns the time passed between frames. More...
 
const char * tram::GetVersion ()
 Returns the version identifier of the runtime. More...
 
void tram::Core::Init ()
 Initializes the core of the framework. More...
 
void tram::Core::Update ()
 Updates the core system. More...