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

namespace uking::query {

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

RandomChoice4::~RandomChoice4() = default;

int RandomChoice4::doQuery() {
    return sead::GlobalRandom::instance()->getU32(4);
}

}  // namespace uking::query