Initial commit

This commit is contained in:
Elnu 2022-03-03 17:00:44 -08:00
commit 40dd4c9031
6 changed files with 743 additions and 0 deletions

24
src/Main.cpp Normal file
View file

@ -0,0 +1,24 @@
#include <SFML/Graphics.hpp>
int main()
{
sf::RenderWindow window(sf::VideoMode(200, 200), "SFML works!");
sf::CircleShape shape(100.f);
shape.setFillColor(sf::Color::Green);
while (window.isOpen())
{
sf::Event event;
while (window.pollEvent(event))
{
if (event.type == sf::Event::Closed)
window.close();
}
window.clear();
window.draw(shape);
window.display();
}
return 0;
}