Platform Data Engine 0.0.1
A data-driven game engine for platformers
|
Public Member Functions | |
TextBox (const std::string &label, ListMenu *parent) | |
void | setStringRef (std::string *stringPtr) |
void | init () |
void | update (const float &dt, const float &elapsedTime) |
void | draw (sf::RenderTarget &target, sf::RenderStates states) const |
void | interact () |
Public Member Functions inherited from PlatformDataEngine::MenuOption | |
MenuOption (ListMenu *parent) | |
MenuOption (const std::string &text, ListMenu *parent) | |
virtual void | init () |
virtual void | update (const float &dt, const float &elapsedTime) |
void | setSubmenu (ListMenu *submenu) |
ListMenu * | getSubmenu () |
void | setSelected (bool selected) |
virtual void | draw (sf::RenderTarget &target, sf::RenderStates states) const |
void | setFunctionPtr (void(*optFunction)(void)) |
virtual void | interact () |
Additional Inherited Members | |
Protected Attributes inherited from PlatformDataEngine::MenuOption | |
TextDrawable | m_text |
bool | m_isSelected |
std::shared_ptr< sf::Shader > | m_shader |
ListMenu * | m_submenu |
ListMenu * | m_parent |
void(* | m_optFunction )(void) |
|
virtual |
Reimplemented from PlatformDataEngine::MenuOption.
|
virtual |
Reimplemented from PlatformDataEngine::MenuOption.
|
virtual |
Reimplemented from PlatformDataEngine::MenuOption.
|
virtual |
Reimplemented from PlatformDataEngine::MenuOption.