summaryrefslogtreecommitdiff
path: root/include/d/actor/d_a_andsw2.h
blob: ca665bab52fba938207ccead455ba8eaed43c584 (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
#ifndef D_A_ANDSW2_H
#define D_A_ANDSW2_H

#include "f_op/f_op_actor.h"

class daAndsw2_c : public fopAc_ac_c {
public:
    void setActio(u8 action) { mAction = action; }

    u8 getEventNo();
    u8 getSwbit();
    u8 getSwbit2();
    u8 getType();
    u8 getTimer();
    u8 getNum();
    u8 getTopSw();
    BOOL chkAllSw2();
    
    inline BOOL execute();
    inline cPhs_State create();
    inline BOOL draw();

public:
    /* 0x290 */ u8 mAction;
    /* 0x292 */ s16 mTimer;
    /* 0x294 */ s16 mEventIdx;
};

#endif /* D_A_ANDSW2_H */