|
|
| LegacyGraphicalLib (GraphicalLibManager &manager) |
| |
|
void | display () override |
| |
|
void | startDisplay () override |
| |
|
| GraphicalLib (std::string const &name, GraphicalLibManager &manager) |
| |
|
virtual void | clear () |
| |
|
virtual void | getEvents () |
| |
|
std::string | getName () const |
| |
|
virtual float | getJoystikValue (int gamepadId, int joystickId) |
| |
|
std::vector< Events::Key > | getNewKeys () const |
| |
|
std::vector< Events::Key > | getKeysPressed () const |
| |
|
std::vector< Events::Key > | getKeysReleased () const |
| |
|
virtual Tools::Vector2 | getMousePosition () const |
| |
|
virtual void | clearCache () |
| |
|
virtual void | stopDisplay () |
| |
|
virtual Tools::Vector2 | getScreenSize () |
| |
|
virtual void | playMusic (std::string const &musicPath, float volume=1.0f) |
| |
|
virtual void | stopMusic () |
| |
|
virtual void | pauseMusic () |
| |
|
virtual void | resumMusic () |
| |
|
virtual void | restartMusic () |
| |
|
virtual void | setMusicVolume (float volume) |
| |
|
virtual void | playSound (std::string const &soundPath) |
| |
|
void | setSoundVolume (float volume) |
| |
|
virtual void | drawRectangle (Tools::Vector2 const &position, Tools::Vector2 const &size, Tools::Color const &color) |
| |
|
virtual void | drawRectangle (Tools::Rectangle rectangle, Tools::Color const &color, float rotation) |
| |
|
void | setDrawText (std::function< void(UI::Text &)> f) |
| |
|
void | setDrawImage (std::function< void(UI::Image &)> f) |
| |
|
void | drawText (UI::Text &txt) |
| |
|
void | drawImage (UI::Image &img) |
| |
|
| Entity (std::size_t __id=0) |
| |
| void | __setId (std::size_t id) |
| | set entity id More...
|
| |
| std::size_t | getId () const |
| | Get the entity id. More...
|
| |
|
virtual Entity & | operator= (Entity const &en) |
| |
|
virtual bool | operator== (Entity const &en) |
| |
|
virtual bool | operator!= (Entity const &en) |
| |
The documentation for this class was generated from the following files:
- Library/KapEngine/KapEngine/Legacy/Graphical/LegacyGraphicalLib.hpp
- Library/KapEngine/KapEngine/Legacy/Graphical/LegacyGraphicalLib.cpp