Merge branch 'master' of github.com:matteodelabre/projet-cmi
This commit is contained in:
commit
642ecb88ba
|
@ -3,14 +3,11 @@
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
Engine::Engine() : goLeftKey(false), goRightKey(false) {
|
Engine::Engine() : window(
|
||||||
// initialise et ouvre la fenêtre
|
sf::VideoMode(300, 150), "Projet CMI",
|
||||||
window.create(
|
|
||||||
sf::VideoMode(300, 150), "La cage de Jacob",
|
|
||||||
sf::Style::Default & ~sf::Style::Resize,
|
sf::Style::Default & ~sf::Style::Resize,
|
||||||
sf::ContextSettings(0, 0, 2)
|
sf::ContextSettings(0, 0, 2)
|
||||||
);
|
), goLeftKey(false), goRightKey(false) {
|
||||||
|
|
||||||
window.setVerticalSyncEnabled(true);
|
window.setVerticalSyncEnabled(true);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue