Ajout de l'instruction de dessin final
This commit is contained in:
parent
9fdf9ac931
commit
382cc27eb3
2
Makefile
2
Makefile
|
@ -2,7 +2,7 @@ CC=g++
|
|||
CFLAGS=-Wall -std=c++11
|
||||
TARGET=ptf
|
||||
|
||||
$(TARGET): build/main.o build/object.o build/physics_object.o build/block.o build/ball.o build/engine.o
|
||||
$(TARGET): build/main.o build/object.o build/physics_object.o build/block.o build/ball.o build/engine.o
|
||||
$(CC) $(CFLAGS) -o build/$(TARGET) \
|
||||
build/main.o build/object.o build/physics_object.o build/block.o \
|
||||
build/ball.o build/engine.o \
|
||||
|
|
|
@ -89,4 +89,6 @@ void Engine::draw() {
|
|||
display_queue.top()->draw(window);
|
||||
display_queue.pop();
|
||||
}
|
||||
|
||||
window.display();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue