summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryRandomChoice3.cpp
blob: da279a7a5e2ac1283964a800e6d2773bfd6c09e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#include "Game/AI/Query/queryRandomChoice3.h"
#include <evfl/Query.h>
#include <random/seadGlobalRandom.h>

namespace uking::query {

RandomChoice3::RandomChoice3(const InitArg& arg) : ksys::act::ai::Query(arg) {}

RandomChoice3::~RandomChoice3() = default;

int RandomChoice3::doQuery() {
    return sead::GlobalRandom::instance()->getU32(3);
}

void RandomChoice3::loadParams(const evfl::QueryArg& arg) {}

void RandomChoice3::loadParams() {}

}  // namespace uking::query