Loading...
Searching...
No Matches
WindowManager.h
Go to the documentation of this file.
1//
2// Created by Dave Smith on 3/7/25.
3//
4
5#ifndef WINDOWMANAGER_H
6#define WINDOWMANAGER_H
7
8#pragma once
9
10#include <SFML/Graphics.hpp>
11
13{
46 {
47 static sf::RenderWindow* window = new sf::RenderWindow;
48 return *window;
49 }
50
51} // namespace ml::WindowManager
52
53#endif // WINDOWMANAGER_H
sf::RenderWindow & getWindow()
Return the framework's shared sf::RenderWindow.