1#pragma once
2
3#include "Library/LiveActor/LiveActor.h"
4
5class Player : public al::LiveActor {
6public:
7 Player(const char* actorName, const char* archiveName, s32 port);
8
9 void init(const al::ActorInitInfo& info) override;
10
11 void exeWait();
12 void exeRun();
13 void exeJump();
14 void exeFall();
15 void exeDamage();
16
17 void control() override;
18 void attackSensor(al::HitSensor* self, al::HitSensor* other) override;
19 bool receiveMsg(const al::SensorMsg* message, al::HitSensor* other,
20 al::HitSensor* self) override;
21
22private:
23 const char* mArchiveName = nullptr;
24 s32 mPort = 0;
25 s32 mAirTime = 0;
26};
27
28namespace rs {
29
30bool isGuardNosePainCap(const al::LiveActor*);
31
32} // namespace rs
33