aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/Component.h
diff options
context:
space:
mode:
authorheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 12:15:49 +0200
committerheavydemon21 <nielsstunnebrink1@gmail.com>2024-10-22 12:15:49 +0200
commit6b213f304b35be5c11bbea305698d6e365a7ffca (patch)
tree4526831be8e6a09a9e1608b71294213ce57fddb1 /src/crepe/Component.h
parent9037aca03bfa4312794a6954752628381256f777 (diff)
parent30d84ef9ad4a0010288db18294766fd4d5ed6f4a (diff)
Merge branch 'master' into niels/rendering
Diffstat (limited to 'src/crepe/Component.h')
-rw-r--r--src/crepe/Component.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/crepe/Component.h b/src/crepe/Component.h
index 16a4ce5..d9a01ac 100644
--- a/src/crepe/Component.h
+++ b/src/crepe/Component.h
@@ -3,12 +3,15 @@
namespace crepe {
class Component {
+protected:
+ Component() = default;
+
public:
- Component();
+ virtual ~Component() = default;
// TODO: shouldn't this constructor be deleted because this class will never
// directly be instantiated?
- bool active;
+ bool active = true;
};
} // namespace crepe