Core Native Arduino 0.0.2
Gly Engine for Arduino
Loading...
Searching...
No Matches
GlyCore Class Reference

#include <GlyCore.h>

Collaboration diagram for GlyCore:

Public Member Functions

template<typename gameType, typename engineType>
 GlyCore (gameType game, engineType library)
 
template<typename gameType, typename engineType, typename displayType>
 GlyCore (gameType game, engineType library, displayType display)
 
template<typename gameType, typename engineType, typename displayType, typename inputType>
 GlyCore (gameType game, engineType library, displayType display, inputType input)
 
void init (uint16_t, uint16_t)
 
bool update ()
 
void setFramerate (uint8_t)
 
void setBtnDebounce (uint8_t)
 
void setBtnKeyboard (uint8_t, uint8_t, const char *const)
 
uint16_t getAvarageFPS ()
 
uint16_t getInstantFPS ()
 
uint32_t getLuaMemTotal ()
 
uint8_t getLuaMemPercentage ()
 
bool hasErrors () const
 
const String & getErrors () const
 
void clearErrors ()
 
void setBtnState (const char *, bool)
 
void setBtnState (const char *, int)
 

Public Attributes

GlyLua51 lua_State
 
GlyLua54 lua_State
 

Friends

void keyboardUpdate (const char *, bool)
 

Constructor & Destructor Documentation

◆ GlyCore() [1/3]

template<typename gameType, typename engineType>
GlyCore::GlyCore ( gameType game,
engineType library )
inline

◆ GlyCore() [2/3]

template<typename gameType, typename engineType, typename displayType>
GlyCore::GlyCore ( gameType game,
engineType library,
displayType display )
inline

◆ GlyCore() [3/3]

template<typename gameType, typename engineType, typename displayType, typename inputType>
GlyCore::GlyCore ( gameType game,
engineType library,
displayType display,
inputType input )
inline

Member Function Documentation

◆ clearErrors()

void GlyCore::clearErrors ( )

◆ getAvarageFPS()

uint16_t GlyCore::getAvarageFPS ( )

◆ getErrors()

const String & GlyCore::getErrors ( ) const

◆ getInstantFPS()

uint16_t GlyCore::getInstantFPS ( )

◆ getLuaMemPercentage()

uint8_t GlyCore::getLuaMemPercentage ( )

◆ getLuaMemTotal()

uint32_t GlyCore::getLuaMemTotal ( )

◆ hasErrors()

bool GlyCore::hasErrors ( ) const

◆ init()

void GlyCore::init ( uint16_t ,
uint16_t  )

◆ setBtnDebounce()

void GlyCore::setBtnDebounce ( uint8_t )

◆ setBtnKeyboard()

void GlyCore::setBtnKeyboard ( uint8_t ,
uint8_t ,
const char * const  )

◆ setBtnState() [1/2]

void GlyCore::setBtnState ( const char * ,
bool  )

◆ setBtnState() [2/2]

void GlyCore::setBtnState ( const char * ,
int  )

◆ setFramerate()

void GlyCore::setFramerate ( uint8_t )

◆ update()

bool GlyCore::update ( )

Friends And Related Symbol Documentation

◆ keyboardUpdate

void keyboardUpdate ( const char * ,
bool  )
friend

Member Data Documentation

◆ lua_State [1/2]

GlyLua51 GlyCore::lua_State

◆ lua_State [2/2]

GlyLua54 GlyCore::lua_State

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