feat: Add component ID to root component object

This commit is contained in:
David Markowitz
2025-10-02 01:32:50 -07:00
parent 670cb124c0
commit dbb6e3e0b8
106 changed files with 263 additions and 259 deletions

View File

@@ -44,7 +44,7 @@
Implementation<bool, const Entity*> DestroyableComponent::IsEnemyImplentation;
Implementation<bool, const Entity*> DestroyableComponent::IsFriendImplentation;
DestroyableComponent::DestroyableComponent(Entity* parent) : Component(parent) {
DestroyableComponent::DestroyableComponent(Entity* parent, const int32_t componentID) : Component(parent, componentID) {
using namespace GameMessages;
m_iArmor = 0;
m_fMaxArmor = 0.0f;