Move world on unordered_map and object_ptr
This commit is contained in:
@@ -8,7 +8,7 @@ void Actor::OnDestroy()
|
||||
{
|
||||
}
|
||||
|
||||
Actor::Actor()
|
||||
Actor::Actor() : loc(new Vector3D), rot(new Vector3D), scale(new Vector3D)
|
||||
{
|
||||
SetType(Classes::Actor);
|
||||
}
|
||||
@@ -60,9 +60,3 @@ void Actor::RemoveTag(const std::string& tag) noexcept
|
||||
{
|
||||
tags.remove(tag);
|
||||
}
|
||||
|
||||
void Actor::Destroy()
|
||||
{
|
||||
OnDestroy();
|
||||
//world_->actors.remove(this);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user