mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-10 04:41:32 -10:00
48 lines
1.0 KiB
C++
48 lines
1.0 KiB
C++
#pragma once
|
|
|
|
#include "Game/LiveActor/LiveActor.hpp"
|
|
|
|
class InformationObserver : public LiveActor {
|
|
public:
|
|
enum TYPE {
|
|
Type_Bee,
|
|
Type_Teresa,
|
|
Type_Hopper,
|
|
Type_Fire,
|
|
Type_Ice,
|
|
Type_Flying,
|
|
Type_Invincible,
|
|
Type_LifeUp,
|
|
Type_OneUp,
|
|
Type_Spin,
|
|
};
|
|
|
|
/// @brief Creates a new `InformationObserver`.
|
|
InformationObserver();
|
|
|
|
virtual void init(const JMapInfoIter& rIter);
|
|
|
|
void entry(InformationObserver::TYPE, LiveActor*);
|
|
void exeWait();
|
|
void exeDisp();
|
|
|
|
private:
|
|
/* 0x8C */ TYPE mType;
|
|
/* 0x90 */ bool _90;
|
|
/* 0x94 */ LiveActor* _94;
|
|
/* 0x98 */ s32 mDisplayFrame;
|
|
};
|
|
|
|
namespace InformationObserverFunction {
|
|
void explainBee();
|
|
void explainTeresa();
|
|
void explainHopper();
|
|
void explainFire();
|
|
void explainIce();
|
|
void explainFlying();
|
|
void explainInvincible();
|
|
void explainLifeUp();
|
|
void explainOneUp();
|
|
void explainSpin(LiveActor*);
|
|
}; // namespace InformationObserverFunction
|