Merge branch 'master' of github.com:matteodelabre/projet-cmi

This commit is contained in:
Mattéo Delabre 2016-03-10 19:53:16 +01:00
commit 642ecb88ba
1 changed files with 5 additions and 8 deletions

View File

@ -3,14 +3,11 @@
#include <cmath>
#include <queue>
Engine::Engine() : goLeftKey(false), goRightKey(false) {
// initialise et ouvre la fenêtre
window.create(
sf::VideoMode(300, 150), "La cage de Jacob",
Engine::Engine() : window(
sf::VideoMode(300, 150), "Projet CMI",
sf::Style::Default & ~sf::Style::Resize,
sf::ContextSettings(0, 0, 2)
);
), goLeftKey(false), goRightKey(false) {
window.setVerticalSyncEnabled(true);
}