diff --git a/include/InputAction.h b/include/InputAction.h new file mode 100644 index 0000000..07b1c10 --- /dev/null +++ b/include/InputAction.h @@ -0,0 +1,18 @@ +#pragma once + +#include +#include +#include +#include "Key.h" + +struct InputAction +{ + std::string name; + std::vector keys; + std::function callback; + + InputAction() = default; + InputAction(const std::string& actionName, std::function actionCallback) + : name(actionName), callback(actionCallback) {} + +}; \ No newline at end of file