summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryKeyInputCheck.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game/AI/Query/queryKeyInputCheck.cpp')
-rw-r--r--src/Game/AI/Query/queryKeyInputCheck.cpp23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/Game/AI/Query/queryKeyInputCheck.cpp b/src/Game/AI/Query/queryKeyInputCheck.cpp
new file mode 100644
index 00000000..0b4b3296
--- /dev/null
+++ b/src/Game/AI/Query/queryKeyInputCheck.cpp
@@ -0,0 +1,23 @@
+#include "Game/AI/Query/queryKeyInputCheck.h"
+#include <evfl/query.h>
+
+namespace uking::query {
+
+KeyInputCheck::KeyInputCheck(const InitArg& arg) : ksys::act::ai::Query(arg) {}
+
+KeyInputCheck::~KeyInputCheck() = default;
+
+// FIXME: implement
+int KeyInputCheck::doQuery() {
+ return -1;
+}
+
+void KeyInputCheck::loadParams(const evfl::QueryArg& arg) {
+ loadInt(arg.param_accessor, "ValidInput");
+}
+
+void KeyInputCheck::loadParams() {
+ getDynamicParam(&mValidInput, "ValidInput");
+}
+
+} // namespace uking::query