mirror of
https://github.com/zeldaret/botw
synced 2026-07-09 22:11:38 -04:00
Generate actions
This commit is contained in:
@@ -0,0 +1,34 @@
|
||||
#include "Game/AI/Action/actionNPCTebaApproachPlayer.h"
|
||||
|
||||
namespace uking::action {
|
||||
|
||||
NPCTebaApproachPlayer::NPCTebaApproachPlayer(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
NPCTebaApproachPlayer::~NPCTebaApproachPlayer() = default;
|
||||
|
||||
bool NPCTebaApproachPlayer::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void NPCTebaApproachPlayer::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void NPCTebaApproachPlayer::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void NPCTebaApproachPlayer::loadParams_() {
|
||||
getStaticParam(&mUpdateTargetFrame_s, "UpdateTargetFrame");
|
||||
getStaticParam(&mPlayerMaxHeight_s, "PlayerMaxHeight");
|
||||
getStaticParam(&mMaxMoveSpeed_s, "MaxMoveSpeed");
|
||||
getStaticParam(&mTurnSpeed_s, "TurnSpeed");
|
||||
getStaticParam(&mTurnRadius_s, "TurnRadius");
|
||||
getStaticParam(&mReduceMaxSpeedChasePlayer_s, "ReduceMaxSpeedChasePlayer");
|
||||
}
|
||||
|
||||
void NPCTebaApproachPlayer::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
Reference in New Issue
Block a user