2023-06-10 11:46:48 +00:00
|
|
|
#ifndef __COLLECTIBLECOMPONENT__H__
|
|
|
|
#define __COLLECTIBLECOMPONENT__H__
|
|
|
|
|
|
|
|
#include "Component.h"
|
|
|
|
#include "eReplicaComponentType.h"
|
|
|
|
|
|
|
|
#include <cstdint>
|
|
|
|
|
|
|
|
class CollectibleComponent : public Component {
|
|
|
|
public:
|
|
|
|
inline static const eReplicaComponentType ComponentType = eReplicaComponentType::COLLECTIBLE;
|
2023-06-27 05:59:57 +00:00
|
|
|
CollectibleComponent(Entity* parent) : Component(parent) { };
|
2023-06-10 11:46:48 +00:00
|
|
|
|
|
|
|
void Startup() override;
|
|
|
|
|
|
|
|
uint32_t GetCollectibleId() const { return m_CollectibleId; }
|
|
|
|
private:
|
|
|
|
uint32_t m_CollectibleId;
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
|
|
#endif //!__COLLECTIBLECOMPONENT__H__
|