diff options
Diffstat (limited to 'src/engine/editor/GameObject.cpp')
| -rw-r--r-- | src/engine/editor/GameObject.cpp | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/engine/editor/GameObject.cpp b/src/engine/editor/GameObject.cpp new file mode 100644 index 000000000..6f52c8ac8 --- /dev/null +++ b/src/engine/editor/GameObject.cpp @@ -0,0 +1,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 |
