summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryRandomChoice8.cpp
blob: 8151215a1d713747b8ac27e7269f3df8e7774fa6 (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