Go to the documentation of this file.
5 #ifndef COMSQUARE_SFRENDERER_HPP
6 #define COMSQUARE_SFRENDERER_HPP
9 #include <SFML/Graphics.hpp>
10 #include <SFML/Audio.hpp>
11 #include <SFML/System.hpp>
12 #include <SFML/Window.hpp>
13 #include <SFML/Graphics//RenderWindow.hpp>
33 void putPixel(
int x,
int y, uint8_t rgba)
override ;
37 #endif //COMSQUARE_SFRENDERER_HPP
void putPixel(int x, int y, uint8_t rgba) override
Add a pixel to the buffer to the coordinates x, y with the color rgba.
Definition: SFRenderer.cpp:19
void setWindowName(std::string) override
Set a new name to the window, if there is already a name it will be overwrite.
Definition: SFRenderer.cpp:9
sf::Window window
The main Window.
Definition: SFRenderer.hpp:20
void drawScreen() override
Update the screen by printing the buffer.
Definition: SFRenderer.cpp:14
Definition: IRenderer.hpp:10
Definition: SFRenderer.hpp:17
sf::VideoMode videoMode
Video Mode containing the height and width of the window.
Definition: SFRenderer.hpp:22
Definition: IRenderer.hpp:12