blob: 3c15429a0513af97fda60c8fa693cc9cd0f4bc8d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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;
}
|