Удалить draw.hpp
This commit is contained in:
parent
d55a2c6dc9
commit
a5d3dca717
13
draw.hpp
13
draw.hpp
@ -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();
|
|
||||||
}
|
|
Loading…
x
Reference in New Issue
Block a user