mirror of
https://github.com/CraftyBoss/SuperMarioOdysseyOnline.git
synced 2024-11-24 20:25:18 +00:00
28 lines
836 B
C++
28 lines
836 B
C++
#pragma once
|
|
|
|
#include "al/LiveActor/LiveActor.h"
|
|
#include "al/util.hpp"
|
|
|
|
#include "logger.hpp"
|
|
#include "puppets/PuppetInfo.h"
|
|
#include "helpers.hpp"
|
|
|
|
// TODO: Make this actor only created once per puppet, and use SubActorKeeper to create PartsModel actors for each capture
|
|
|
|
class PuppetHackActor : public al::LiveActor {
|
|
public:
|
|
PuppetHackActor(const char *name);
|
|
virtual void init(al::ActorInitInfo const &) override;
|
|
virtual void initAfterPlacement() override;
|
|
virtual void control(void) override;
|
|
virtual void movement(void) override;
|
|
void initOnline(PuppetInfo *info, const char *hackType);
|
|
|
|
void startAction(const char* actName);
|
|
|
|
void startHackAnim(bool isOn);
|
|
|
|
private:
|
|
PuppetInfo *mInfo;
|
|
sead::FixedSafeString<0x20> mHackType;
|
|
};
|