Удалить draw.hpp

This commit is contained in:
Mypzik3D 2024-04-22 20:30:02 +02:00
parent d55a2c6dc9
commit a5d3dca717

View File

@ -1,13 +0,0 @@
#pragma once
#include <SFML/Graphics.hpp>
#include "data.hpp"
void update_window(sf::RenderWindow& window,std::vector<std::unique_ptr<object>>& objects){
window.clear();
for(const auto & i : objects){
object* obj = i.get();
obj->draw(window);
}
window.display();
}