summaryrefslogtreecommitdiff
path: root/src/engine/editor/GameObject.cpp
blob: 5145d8491f6b12b11f3b7a3bff0d14ce6cc4e929 (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
#include <libultraship/libultraship.h>
#include "GameObject.h"

namespace Editor {

GameObject::GameObject(const char* name, FVector* pos, IRotator* rot, FVector* scale, Gfx* model,
                       std::vector<Triangle> triangles, CollisionType collision, float boundingBoxSize,
                       int32_t* despawnFlag, int32_t despawnValue) {
    Name = name;
    Pos = pos;
    Rot = rot;
    Scale = scale;
    Model = model;
    Triangles = triangles;
    Collision = collision;
    BoundingBoxSize = boundingBoxSize;
    DespawnFlag = despawnFlag;
    DespawnValue = despawnValue;
}

GameObject::GameObject(FVector* pos, Vec3s* rot) {
    // Pos = pos;
    // Rot = rot;
}

GameObject::GameObject(){};

void GameObject::Draw() {};

void GameObject::Tick() {};

} // namespace Editor