Kochol Game Engine  0.1.0
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
kge::libRocketKGESystem Class Reference

#include <libRocketKGESystem.h>

Public Member Functions

 libRocketKGESystem ()
 Constructor.
float GetElapsedTime ()
bool LogMessage (Rocket::Core::Log::Type type, const Rocket::Core::String &message)
void SetContext (Rocket::Core::Context *pContext)
 Sets the rocket context for sending inputs to it.
void Render ()
 Updates and render the context.

Protected Attributes

Rocket::Core::Context * m_pContext

Detailed Description

Definition at line 9 of file libRocketKGESystem.h.

Constructor & Destructor Documentation

kge::libRocketKGESystem::libRocketKGESystem ( )

Constructor.

Member Function Documentation

float kge::libRocketKGESystem::GetElapsedTime ( )

Get the number of seconds elapsed since the start of the application.

Returns
Elapsed time, in seconds.
bool kge::libRocketKGESystem::LogMessage ( Rocket::Core::Log::Type  type,
const Rocket::Core::String &  message 
)

Log the specified message.

Parameters
[in]typeType of log message, ERROR, WARNING, etc.
[in]messageMessage to log.
Returns
True to continue execution, false to break into the debugger.
void kge::libRocketKGESystem::Render ( )

Updates and render the context.

void kge::libRocketKGESystem::SetContext ( Rocket::Core::Context *  pContext)

Sets the rocket context for sending inputs to it.

Member Data Documentation

Rocket::Core::Context* kge::libRocketKGESystem::m_pContext
protected

Definition at line 34 of file libRocketKGESystem.h.


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