Add GetWorld to Actor. Integrate google test. Add Model manager class. Rename *.h to *.hpp files

This commit is contained in:
Jiga228
2025-10-13 19:31:27 +07:00
parent fedffa7634
commit 8819114b63
44 changed files with 424 additions and 59 deletions
+14 -3
View File
@@ -1,7 +1,12 @@
#include "Actor.h"
#include "Actor.hpp"
#include "Game/SaveMap/SaveMap.h"
#include "Log/Log.h"
#include "Game/SaveMap/SaveMap.hpp"
#include "Game/World/World.hpp"
#include "Log/Log.hpp"
void Actor::OnDestroy()
{
}
Actor::Actor()
{
@@ -55,3 +60,9 @@ void Actor::RemoveTag(const std::string& tag) noexcept
{
tags.remove(tag);
}
void Actor::Destroy()
{
OnDestroy();
//world_->actors.remove(this);
}