Навёл порядок в тестах. Добавил тесты для мира. Исправил ошибку в SpawnActorFromClass

This commit is contained in:
Jiga228
2026-06-28 19:26:23 +07:00
parent ad881a97a9
commit 82ba9fd191
21 changed files with 404 additions and 56 deletions
+2 -2
View File
@@ -18,7 +18,7 @@ class Actor : public ISave, public IRTTI
std::shared_ptr<Vector3D> loc_, rot_, scale_;
std::list<std::string> tags;
std::list<std::string> tags_;
protected:
virtual void OnDestroy();
@@ -52,7 +52,7 @@ public:
void AddTag(const std::string& tag) noexcept;
void RemoveTag(const std::string& tag) noexcept;
const std::list<std::string>& GetTags() const { return tags; }
const std::list<std::string>& GetTags() const { return tags_; }
std::shared_ptr<World> GetWorld() const { return world_; }
const std::string& GetName() const { return name_; }