NSMBW-Decomp
A decompilation of New Super Mario Bros. Wii
Loading...
Searching...
No Matches
m_fader.hpp
1#pragma once
2#include <game/mLib/m_fader_base.hpp>
3
7class mFader_c {
8public:
9 static void draw();
10
12 static bool isStatus(mFaderBase_c::EStatus status) { return mFader->getStatus() == status; }
13
16 static bool setFader(mFaderBase_c *fader);
17
19};
Base fader implementation.
virtual EStatus getStatus() const
Gets the fader's status.
EStatus
The fader's status.
Fader management class.
Definition m_fader.hpp:7
static mFaderBase_c * mFader
The fader currently in use.
Definition m_fader.hpp:18
static bool setFader(mFaderBase_c *fader)
Sets the fader to be used.
Definition m_fader.cpp:14
static bool isStatus(mFaderBase_c::EStatus status)
Checks if the current fader's status matches status .
Definition m_fader.hpp:12
static void draw()
Draws the current fader.
Definition m_fader.cpp:8