summaryrefslogtreecommitdiff
path: root/include/egg/gfx/eggScreenEffectBase.h
blob: 09f4469936d85c7b97d3c959994fd7e33f983d31 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
#ifndef EGG_SCREEN_EFFECT_BASE_H
#define EGG_SCREEN_EFFECT_BASE_H

#include "common.h"
#include "egg/gfx/eggScreen.h"

namespace EGG {

class ScreenEffectBase {
protected:
    /* 0x0 */ u8 mFlag;

public:
    ScreenEffectBase();
    virtual ~ScreenEffectBase() {} // at 0x8

    static Screen &GetScreen() {
        return sScreen;
    }

    bool isFlag0x2() const {
        return mFlag & 2;
    }

protected:
    static Screen sScreen;
};

} // namespace EGG

#endif