Switching to sfml
This commit is contained in:
parent
4536c62dad
commit
de72aead56
40 changed files with 462 additions and 2385 deletions
15
src/main.cpp
Normal file
15
src/main.cpp
Normal file
|
@ -0,0 +1,15 @@
|
|||
#include <SFML/Graphics.hpp>
|
||||
#include <SFML/Window.hpp>
|
||||
|
||||
#include "Game.hpp"
|
||||
|
||||
int main()
|
||||
{
|
||||
sf::RenderWindow window(sf::VideoMode({800, 450}), "Colysis", sf::Style::Close | sf::Style::Titlebar);
|
||||
window.setMinimumSize(sf::Vector2u{800, 450});
|
||||
|
||||
Game game(window);
|
||||
game.run();
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue