change window draw function to IDrawable

This commit is contained in:
Clément Le Bihan
2021-05-26 16:38:27 +02:00
parent c12ecf6d8b
commit b2659c3272
7 changed files with 14 additions and 21 deletions

View File

@@ -75,7 +75,7 @@ int demo()
entityPlayer.addComponent(circleComponent);
entityPlayer.addComponent(cubeComponent);
entityPlayer.addComponent(posComponent);
wal._scene.addEntity(entityPlayer);
wal.scene.addEntity(entityPlayer);
camera.setMode(CAMERA_FREE); // Set free camera mode