Correction de la correction du code
This commit is contained in:
parent
84ffd44f17
commit
488f9aa345
|
@ -1,4 +1,5 @@
|
||||||
#include "engine.hpp"
|
#include "engine.hpp"
|
||||||
|
#include "constants.hpp"
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
#include <queue>
|
#include <queue>
|
||||||
|
|
||||||
|
@ -15,6 +16,8 @@ Engine::Engine() : window(
|
||||||
}
|
}
|
||||||
|
|
||||||
void Engine::start() {
|
void Engine::start() {
|
||||||
|
float accumulator = 0;
|
||||||
|
|
||||||
// boucle d'événements sur la fenêtre
|
// boucle d'événements sur la fenêtre
|
||||||
while (window.isOpen()) {
|
while (window.isOpen()) {
|
||||||
sf::Event event;
|
sf::Event event;
|
||||||
|
|
Loading…
Reference in New Issue