diff options
author | HampusM <hampus@hampusmat.com> | 2022-03-10 19:12:31 +0100 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:55 +0200 |
commit | 38f14606c78c119d452f302f17329455e29a9a6f (patch) | |
tree | 03f6dfd9d3576e87260f7cb3bc436ad076b629c5 /src/input_actions.hpp | |
parent | 09848ad31af6a1c70d64fccee711e231afb5a77f (diff) |
refactor: rename game initializer & move input config
Diffstat (limited to 'src/input_actions.hpp')
-rw-r--r-- | src/input_actions.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/input_actions.hpp b/src/input_actions.hpp new file mode 100644 index 0000000..8283d78 --- /dev/null +++ b/src/input_actions.hpp @@ -0,0 +1,21 @@ +#pragma once + +#include "interfaces/cursor.hpp" +#include "interfaces/observable.hpp" +#include "interfaces/scene.hpp" +#include "interfaces/window.hpp" + +#include "engine/data/vector2.hpp" + +#include <memory> + +namespace InputActions +{ + +Callback move_cursor(const Vector2 &direction, + const std::shared_ptr<ICursorController> &cursor_controller, + const std::shared_ptr<IWindow> &window); + +void exit_success(); + +} // namespace InputActions |