- $#include "Component.h"
- class Component : public Serializable
- {
- void SetEnabled(bool enable);
- void Remove();
-
- unsigned GetID() const;
- Node* GetNode() const;
- Scene* GetScene() const;
- bool IsEnabled() const;
- bool IsEnabledEffective() const;
-
- Component* GetComponent(ShortStringHash type) const;
- Component* GetComponent(const char* type) const;
- };
|