2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-11 13:47:43 +00:00

More state implementations

This commit is contained in:
2020-10-08 21:45:05 -07:00
parent 215eedc013
commit abbacad46b
5 changed files with 110 additions and 26 deletions

View File

@@ -1014,6 +1014,10 @@ void CPatterned::TryStep(CStateManager& mgr, int arg) {
x450_bodyController->GetCommandMgr().DeliverCmd(CBCStepCmd(pas::EStepDirection(arg), pas::EStepType::Normal));
}
void CPatterned::TryScripted(CStateManager& mgr, int arg) {
x450_bodyController->GetCommandMgr().DeliverCmd(CBCScriptedCmd(arg, false, false, 0.f));
}
void CPatterned::BuildBodyController(EBodyType bodyType) {
if (x450_bodyController) {
return;