mirror of
https://github.com/zeldaret/botw
synced 2026-07-11 22:40:14 -04:00
Generate actions
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
#include "Game/AI/Action/actionRotate.h"
|
||||
|
||||
namespace uking::action {
|
||||
|
||||
Rotate::Rotate(const InitArg& arg) : ksys::act::ai::Action(arg) {}
|
||||
|
||||
Rotate::~Rotate() = default;
|
||||
|
||||
bool Rotate::init_(sead::Heap* heap) {
|
||||
return ksys::act::ai::Action::init_(heap);
|
||||
}
|
||||
|
||||
void Rotate::enter_(ksys::act::ai::InlineParamPack* params) {
|
||||
ksys::act::ai::Action::enter_(params);
|
||||
}
|
||||
|
||||
void Rotate::leave_() {
|
||||
ksys::act::ai::Action::leave_();
|
||||
}
|
||||
|
||||
void Rotate::loadParams_() {
|
||||
getStaticParam(&mIsReturn_s, "IsReturn");
|
||||
getMapUnitParam(&mRotAxis_m, "RotAxis");
|
||||
getMapUnitParam(&mTiltAngle_m, "TiltAngle");
|
||||
getMapUnitParam(&mTiltAngularSpeed_m, "TiltAngularSpeed");
|
||||
}
|
||||
|
||||
void Rotate::calc_() {
|
||||
ksys::act::ai::Action::calc_();
|
||||
}
|
||||
|
||||
} // namespace uking::action
|
||||
Reference in New Issue
Block a user