Mario Kart 64
Loading...
Searching...
No Matches
Ship.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <libultraship.h>
4
#include <libultra/gbi.h>
5
#include "
engine/Actor.h
"
6
#include "
CoreMath.h
"
7
8
extern
"C"
{
9
#include "
common_structs.h
"
10
#include "
assets/other_textures.h
"
11
}
12
13
class
AShip
:
public
AActor
{
14
public
:
15
16
enum
Skin
{
17
GHOSTSHIP
,
18
SHIP2
,
19
SHIP3
,
20
};
21
22
explicit
AShip
(
FVector
pos,
AShip::Skin
);
23
virtual
~AShip
() =
default
;
24
25
virtual
void
Tick
()
override
;
26
virtual
bool
IsMod
()
override
;
27
28
FVector
Spawn
;
29
//FVector Pos;
31
//FVector Scale = {0.4, 0.4, 0.4};
32
private
:
33
Gfx*
_skin
;
34
};
Actor.h
CoreMath.h
AActor::AActor
AActor()
Definition
Actor.cpp:10
AShip::AShip
AShip(FVector pos, AShip::Skin)
Definition
Ship.cpp:16
AShip::Tick
virtual void Tick() override
Definition
Ship.cpp:41
AShip::_skin
Gfx * _skin
IRotator Rot = {0, 0, 0};.
Definition
Ship.h:33
AShip::Spawn
FVector Spawn
Definition
Ship.h:28
AShip::Skin
Skin
Definition
Ship.h:16
AShip::GHOSTSHIP
@ GHOSTSHIP
Definition
Ship.h:17
AShip::SHIP2
@ SHIP2
Definition
Ship.h:18
AShip::SHIP3
@ SHIP3
Definition
Ship.h:19
AShip::~AShip
virtual ~AShip()=default
AShip::IsMod
virtual bool IsMod() override
Definition
Ship.cpp:56
common_structs.h
other_textures.h
FVector
Definition
CoreMath.h:18
src
engine
actors
Ship.h
Generated by
1.13.2