summaryrefslogtreecommitdiff
path: root/src/engine/actors/BowserStatue.h
blob: 869f6910fa17f5863afcb36d4d5540bf966eddd3 (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
32
33
34
#pragma once

#include <libultraship.h>
#include <libultra/gbi.h>
#include "engine/Actor.h"
#include "CoreMath.h"

extern "C" {
#include "common_structs.h"
#include "assets/other_textures.h"
}

extern Vtx gBowserStatueVtx[717];
extern Gfx gBowserStatueGfx[162];

class ABowserStatue : public AActor {
public:
    enum Behaviour {
        DEFAULT,
        CRUSH
    };

    virtual ~ABowserStatue() = default;
    explicit ABowserStatue(FVector pos, ABowserStatue::Behaviour behaviour);

    virtual void Tick() override;
    virtual void Draw(Camera*) override;
    virtual bool IsMod() override;

    FVector Pos;
private:
    ABowserStatue::Behaviour _behaviour;
    f32 scale;
};