aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorJulian T <julian@jtle.dk>2020-07-23 23:13:55 +0200
committerJulian T <julian@jtle.dk>2020-07-23 23:13:55 +0200
commit18960c4b88ce912e08b12182b835a7de75388b78 (patch)
treefd3994dc07a07298824521000bde1683461e5262 /src/main.cpp
parent13a7b10ab0efa82a24187cdfb2cf2a55691568f0 (diff)
New project structure
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
new file mode 100644
index 0000000..3c15429
--- /dev/null
+++ b/src/main.cpp
@@ -0,0 +1,23 @@
+#include <SFML/Graphics/CircleShape.hpp>
+#include <SFML/Graphics/RenderWindow.hpp>
+#include <SFML/Window/Event.hpp>
+#include <SFML/Window/VideoMode.hpp>
+#include <iostream>
+
+#include <SFML/Graphics.hpp>
+
+using namespace std;
+
+int main()
+{
+ cout << "Hello World!" << endl;
+
+ sf::RenderWindow window(sf::VideoMode(200, 200), "Yaah working");
+ sf::CircleShape shape(100.f);
+
+ window.clear();
+ window.draw(shape);
+ window.display();
+
+ return 0;
+}