Entity parenting on parse
This commit is contained in:
@@ -9,7 +9,7 @@ class EntityFileParser
|
||||
public:
|
||||
EntityFileParser(const EntityFile* entityFile);
|
||||
|
||||
void MergeEntities(World* world);
|
||||
void MergeEntities(World* world, EntityID parent = EntityID_Invalid);
|
||||
|
||||
private:
|
||||
const EntityFile* m_EntityFile;
|
||||
|
||||
@@ -31,6 +31,7 @@ private:
|
||||
bool m_Visible;
|
||||
boost::filesystem::path m_DefaultEntityDir;
|
||||
boost::filesystem::path m_CurrentFile;
|
||||
std::map<boost::filesystem::path, EntityID> m_CurrentFiles;
|
||||
std::vector<glm::vec2> m_PickingQueue;
|
||||
|
||||
enum class WidgetMode
|
||||
|
||||
Reference in New Issue
Block a user