summaryrefslogtreecommitdiff
path: root/src/engine/editor/GameObject.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/editor/GameObject.cpp')
-rw-r--r--src/engine/editor/GameObject.cpp40
1 files changed, 21 insertions, 19 deletions
diff --git a/src/engine/editor/GameObject.cpp b/src/engine/editor/GameObject.cpp
index 6f52c8ac8..5145d8491 100644
--- a/src/engine/editor/GameObject.cpp
+++ b/src/engine/editor/GameObject.cpp
@@ -3,28 +3,30 @@
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(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(FVector* pos, Vec3s* rot) {
+ // Pos = pos;
+ // Rot = rot;
+}
- GameObject::GameObject() {};
+GameObject::GameObject(){};
- void GameObject::Draw(){};
+void GameObject::Draw() {};
- void GameObject::Tick(){};
+void GameObject::Tick() {};
} // namespace Editor