mirror of
https://github.com/zoriya/ComSquare.git
synced 2025-12-20 06:05:11 +00:00
adding window and videomode to the SFRenderer
This commit is contained in:
@@ -15,6 +15,11 @@
|
||||
namespace ComSquare::Renderer
|
||||
{
|
||||
class SFRenderer : public IRenderer {
|
||||
private:
|
||||
//! @brief The main Window.
|
||||
sf::Window window;
|
||||
//! @brief Video Mode containing the height and width of the window.
|
||||
sf::VideoMode videoMode;
|
||||
public:
|
||||
//! @brief Set a new name to the window, if there is already a name it will be overwrite.
|
||||
//! @param A new title for the window.
|
||||
|
||||
Reference in New Issue
Block a user