diff options
| author | ilotterytea <iltsu@alright.party> | 2025-02-01 15:23:29 +0500 |
|---|---|---|
| committer | ilotterytea <iltsu@alright.party> | 2025-02-01 15:23:29 +0500 |
| commit | 3dc3dfc1e4836e45022dd882b645664b1a2ceb4a (patch) | |
| tree | 607592e6088aec4cccf239d7194482a0a139855e /src/main.cpp | |
| parent | 98bb51185eb053d56052ad9feb3420c258dbb601 (diff) | |
feat: floor (wip)
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 5bb7884..e58fc06 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,11 +7,15 @@ #include <SFML/Window/VideoMode.hpp> #include <optional> +#include "floor.hpp" + int main() { sf::RenderWindow window(sf::VideoMode({800, 600}), "sillyeditor"); window.setFramerateLimit(60); ImGui::SFML::Init(window); + silly::editor::Floor floor(30, 30); + sf::Clock deltaClock; while (window.isOpen()) { while (const std::optional<sf::Event> event = window.pollEvent()) { |
