Skip to content

Commit

Permalink
fix initialization order
Browse files Browse the repository at this point in the history
  • Loading branch information
yalania committed Jan 14, 2020
1 parent 89052b7 commit f83e7a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Engine/GameObject.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,16 +51,16 @@ class GameObject
void SetHierarchyStatic(bool is_static);

public:
std::vector<Component*> components;
std::string name = "";
uint64_t UUID = -1;

GameObject* parent = nullptr;
std::vector<GameObject*> children;

uint64_t UUID = -1;
ComponentAABB aabb;
ComponentTransform transform;

std::vector<Component*> components;

private:

Expand Down

0 comments on commit f83e7a8

Please sign in to comment.