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

namespace uking::query {

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

RandomChoice8::~RandomChoice8() = default;

// FIXME: implement
int RandomChoice8::doQuery() {
    return sead::GlobalRandom::instance()->getU32(8);
}

}  // namespace uking::query