Rename some variables

- Add order for loading Components
- Enforce all components have Entity* in the first argument
This commit is contained in:
David Markowitz
2023-06-09 02:46:01 -07:00
parent f555ba8c25
commit 6f057204be
49 changed files with 634 additions and 584 deletions

View File

@@ -20,7 +20,7 @@ public:
* Gets the owner of this component
* @return the owner of this component
*/
Entity* GetParentEntity() const { return m_OwningEntity; };
Entity* GetParentEntity() const { return m_ParentEntity; };
/**
* Event called when this component is being used, e.g. when some entity interacted with it
@@ -70,5 +70,5 @@ protected:
/**
* The entity that owns this component
*/
Entity* m_OwningEntity;
Entity* m_ParentEntity;
};