summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryKeyInputCheck.cpp
blob: 0b4b3296032569d4381fbf9a165097ffc69e43ca (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
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