This commit is contained in:
2026-05-02 21:08:47 +02:00
parent e4389f035d
commit fcc598adb1
11 changed files with 35 additions and 32 deletions

View File

@@ -9,7 +9,7 @@ namespace Game::Object {
Entity::~Entity() = default;
Entity::Entity(const Entity& other) : mName(other.mName), mTex(other.mTex), mTransform(other.mTransform), mIsActive(other.mIsActive) {
LOG("Copied Entity: " << mName);
LOG("Kopirana entiteta: " << mName);
}
Entity& Entity::operator=(const Entity& other) {
@@ -24,7 +24,7 @@ namespace Game::Object {
Entity::Entity(Entity&& other) noexcept : mName(std::move(other.mName)), mTex(other.mTex), mTransform(other.mTransform), mIsActive(other.mIsActive) {
other.mTex = nullptr;
LOG("Moved Entity: " << mName);
LOG("Premaknjena entiteta: " << mName);
}
Entity& Entity::operator=(Entity&& other) noexcept {