summaryrefslogtreecommitdiff
path: root/include/c/c_counter.h
blob: cb19146df028737a2f4a175cf3633d2e95a651a5 (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
#ifndef C_COUNTER_H
#define C_COUNTER_H

#include "common.h"

class cCounter_c {
public:
    static s32 GetGameFrame() {
        return m_gameFrame;
    }

    static void IncrementGameFrame() {
        m_gameFrame++;
    }

    static void IncrementUnkCounter() {
        m_unkCounter++;
    }

    static void clear();

private:
    static s32 m_gameFrame;
    static s32 m_unkCounter;
};

#endif