summaryrefslogtreecommitdiff
path: root/include/d/a/d_a_insect_butterfly.h
blob: 3905c973aa557a5f90da71eaa029e6e88dfbea60 (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_INSECT_BUTTERFLY_H
#define D_A_INSECT_BUTTERFLY_H

#include "d/a/obj/d_a_obj_base.h"
#include "s/s_State.hpp"
#include "d/a/d_a_insect.h"

class dAcInsectButterfly_c : public dAcOInsect_c {
public:
    dAcInsectButterfly_c() : mStateMgr(*this) {}
    virtual ~dAcInsectButterfly_c() {}

    STATE_FUNC_DECLARE(dAcInsectButterfly_c, Move);
    STATE_FUNC_DECLARE(dAcInsectButterfly_c, Escape);
    STATE_FUNC_DECLARE(dAcInsectButterfly_c, Fly);
    STATE_FUNC_DECLARE(dAcInsectButterfly_c, Finalize);
    STATE_FUNC_DECLARE(dAcInsectButterfly_c, Dead);

    void setKillSignal() {
        mKillSignal = 1;
    }
private:
    /* 0x468 */ u8 field_0x468[0xA34-0x468];
    /* 0xA34 */ STATE_MGR_DECLARE(dAcInsectButterfly_c);
    /* 0xA70 */ u8 field_0xA70[0xAC6-0xA70];
    /* 0xAC6 */ u8 mKillSignal;
};

#endif