mirror of
https://github.com/SMGCommunity/Petari.git
synced 2026-11-09 17:54:41 -10:00
24 lines
635 B
C++
24 lines
635 B
C++
#pragma once
|
|
|
|
#include "Game/NameObj/NameObj.hpp"
|
|
|
|
class StageSwitchCtrl;
|
|
class SwitchEventListener;
|
|
|
|
class SwitchWatcher : public NameObj {
|
|
public:
|
|
SwitchWatcher(const StageSwitchCtrl*);
|
|
|
|
virtual void movement();
|
|
|
|
void checkSwitch(SwitchEventListener*, u32, bool);
|
|
bool isSameSwitch(const StageSwitchCtrl*) const;
|
|
void addSwitchListener(SwitchEventListener*, u32);
|
|
|
|
/* 0x0C */ u32 mFlags;
|
|
/* 0x10 */ const StageSwitchCtrl* mSwitchCtrl;
|
|
/* 0x14 */ SwitchEventListener* mSwitchListenerA;
|
|
/* 0x18 */ SwitchEventListener* mSwitchListenerB;
|
|
/* 0x1C */ SwitchEventListener* mSwitchListenerAppear;
|
|
};
|