summaryrefslogtreecommitdiff
path: root/src/engine/editor/GameObject.cpp
blob: 6f52c8ac886d84a16c0626aa914cd7c7c6646c56 (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
#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