NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
d_en_switch_door.hpp
1#pragma once
2
3#include <game/bases/d_en_door.hpp>
4
5/// @brief An event-activated d-pad door.
6/// @ingroup bases
7/// @unofficial
8class dEnSwitchDoor_c : public dEnDoor_c {
9public:
10 dEnSwitchDoor_c() : mIsEventActivated(FALSE) {}
11
12 virtual int preDraw() override;
13
14 virtual void initialize() override;
15 virtual void waitProc() override;
16
17 BOOL mIsEventActivated; ///< Whether the event ID associated to the door has been activated.
18};
A regular d-pad door actor.
Definition d_en_door.hpp:8
virtual int preDraw() override
pre method for the draw operation.
virtual void waitProc() override
Executed every frame during the Wait state.
BOOL mIsEventActivated
Whether the event ID associated to the door has been activated.
virtual void initialize() override
Initializes other elements, called by create().