(Component) Added clone virtual method
Replaced Component<C>::GetId by GetComponentId<C>() Former-commit-id: 4fae3f73c7fad0a5c36dae16e49b6f12c8bf6ae2
This commit is contained in:
@@ -19,8 +19,11 @@ namespace Ndk
|
||||
Component();
|
||||
virtual ~Component();
|
||||
|
||||
static nzUInt32 GetId();
|
||||
virtual BaseComponent* Clone() const override;
|
||||
};
|
||||
|
||||
template<typename ComponentType>
|
||||
constexpr nzUInt32 GetComponentId();
|
||||
}
|
||||
|
||||
#include <NDK/Component.inl>
|
||||
|
||||
Reference in New Issue
Block a user