Input handling system.
More...
#include <InputSystem.hpp>
◆ InputSystem()
Initialize the Input System based on current scene.
- Parameters
-
scene | Current scene |
sdlLayer | SDL Layer |
board | Game board |
imguiLayer | ImGui Layer |
◆ Input()
bool InputSystem::Input |
( |
b2World * | physicsWorld | ) |
const |
Handle user input events.
- Parameters
-
deltaTime | Time since last frame |
physicsWorld | Box2D physics world |
- Returns
- true Application should quit
-
false Application should continue
The documentation for this class was generated from the following files: