raylibstarter 0.1.0
game::core::Renderer Class Referencefinal

A central place for graphics and rendering oriented functions. More...

#include <renderer.h>

Collaboration diagram for game::core::Renderer:

Static Public Member Functions

static void DrawTexture (const std::shared_ptr< game::core::Sprite > &sprite)
 Draw a sprite to the screen. Oriented to the size, position and rotation angle of the sprite object. The method draws the texture of the sprite in any case - even if its visibility attribute is set to false. More...
 

Detailed Description

A central place for graphics and rendering oriented functions.

Definition at line 12 of file renderer.h.

Member Function Documentation

◆ DrawTexture()

void game::core::Renderer::DrawTexture ( const std::shared_ptr< game::core::Sprite > &  sprite)
static

Draw a sprite to the screen. Oriented to the size, position and rotation angle of the sprite object. The method draws the texture of the sprite in any case - even if its visibility attribute is set to false.

Parameters
spriteSprite object to be drawn.

Definition at line 5 of file renderer.cpp.


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