summaryrefslogtreecommitdiff
path: root/src/engine/actors/Ship.h
blob: fe5743922ac3f3aa63b81485a669e62875d5a5d4 (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"
}

class AShip : public AActor {
public:

    enum Skin {
        GHOSTSHIP,
        SHIP2,
        SHIP3,
    };

    explicit AShip(FVector pos, AShip::Skin);
    virtual ~AShip() = default;

    virtual void Tick() override;
    virtual bool IsMod() override;

    FVector Spawn;
    //FVector Pos;
    ///IRotator Rot = {0, 0, 0};
    //FVector Scale = {0.4, 0.4, 0.4};
private:
    Gfx* _skin;
};