Interface for the renderer. More...
#include <IRenderer.hpp>
Inheritance diagram for eng::IRenderer:
Collaboration diagram for eng::IRenderer:Public Member Functions | |
| virtual void | createWindow (const std::string &title, unsigned int height, unsigned int width, unsigned int frameLimit, bool fullscreen)=0 |
| virtual bool | windowIsOpen () const =0 |
| virtual void | closeWindow ()=0 |
| virtual void | clearWindow (Color color)=0 |
| virtual void | displayWindow ()=0 |
| virtual WindowSize | getWindowSize ()=0 |
| virtual void | setWindowIcon (const std::string &path)=0 |
| virtual bool | pollEvent (Event &event)=0 |
| virtual void | setFrameLimit (unsigned int frameLimit)=0 |
| virtual void | createFont (const std::string &name, const std::string &path)=0 |
| virtual void | createText (Text text)=0 |
| virtual void | drawText (const std::string &name)=0 |
| virtual void | setTextContent (const std::string &name, const std::string &content)=0 |
| virtual void | setTextPosition (const std::string &name, float x, float y)=0 |
| virtual void | setTextColor (const std::string &name, Color color)=0 |
| virtual void | setSpriteColor (const std::string &name, Color color)=0 |
| virtual void | createTexture (const std::string &name, const std::string &path)=0 |
| virtual void | createSprite (const std::string &name, const std::string &textureName, float x, float y, float scale_x=1, float scale_y=1, int fx=0, int fy=0, int fnx=-1, int fny=-1)=0 |
| virtual void | drawSprite (const std::string &name)=0 |
| virtual void | setSpritePosition (const std::string &name, float x, float y)=0 |
| virtual void | setSpriteTexture (const std::string &name, const std::string &path)=0 |
| virtual void | setSpriteScale (const std::string &name, int x, int y)=0 |
| virtual void | setSpriteFrame (const std::string &name, int fx, int fy, int fnx, int fny)=0 |
| virtual void | setSpriteRotation (const std::string &name, float rotation)=0 |
| virtual void | rotateSprite (const std::string &name, float rotation)=0 |
| virtual void | setSpriteOrigin (const std::string &name)=0 |
| virtual void | createCircleShape (CircleShape circleShape)=0 |
| virtual void | setCircleShapePosition (const std::string &name, float x, float y)=0 |
| virtual void | drawCircleShape (const std::string &name)=0 |
| virtual void | drawPoint (float x, float y, Color color)=0 |
| virtual void | renderGui (const WindowSize &windowSize)=0 |
Public Member Functions inherited from utl::IPlugin | |
| virtual | ~IPlugin ()=default |
| virtual const std::string | getName () const =0 |
| virtual PluginType | getType () const =0 |
Interface for the renderer.
Definition at line 119 of file IRenderer.hpp.
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Referenced by gme::EnemySystem::update(), and gme::ExplosionSystem::update().
Here is the caller graph for this function:
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Referenced by gme::HealthBarSystem::drawHealthBar(), ecs::DebugSystem::update(), and gme::FlappyDebugSystem::update().
Here is the caller graph for this function:
|
pure virtual |
Referenced by ecs::BeamSystem::update(), ecs::StarfieldSystem::update(), and gme::BeamSystem::update().
Here is the caller graph for this function:
|
pure virtual |
Referenced by ecs::SpriteSystem::update(), gme::EnemySystem::update(), gme::ExplosionSystem::update(), and gme::LoadingAnimationSystem::update().
Here is the caller graph for this function:
|
pure virtual |
|
nodiscardpure virtual |
Referenced by gme::Game::Game(), ecs::StarfieldSystem::StarfieldSystem(), ecs::StarfieldSystem::update(), and gme::ScrollingSystem::update().
Here is the caller graph for this function:
|
nodiscardpure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
Referenced by ecs::DebugSystem::update(), and gme::FlappyDebugSystem::update().
Here is the caller graph for this function:
|
pure virtual |
|
pure virtual |
|
pure virtual |
Referenced by ecs::SpriteSystem::update(), and gme::LoadingAnimationSystem::update().
Here is the caller graph for this function:
|
pure virtual |
|
pure virtual |
Referenced by ecs::SpriteSystem::update(), and gme::LoadingAnimationSystem::update().
Here is the caller graph for this function:
|
pure virtual |
|
pure virtual |
|
pure virtual |
Referenced by ecs::SpriteSystem::update(), and gme::LoadingAnimationSystem::update().
Here is the caller graph for this function:
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
pure virtual |
|
nodiscardpure virtual |