Component.pkg 398 B

12345678910111213141516
  1. $#include "Component.h"
  2. class Component : public Animatable
  3. {
  4. void SetEnabled(bool enable);
  5. void Remove();
  6. unsigned GetID() const;
  7. Node* GetNode() const;
  8. Scene* GetScene() const;
  9. bool IsEnabled() const;
  10. bool IsEnabledEffective() const;
  11. Component* GetComponent(StringHash type) const;
  12. Component* GetComponent(const String type) const;
  13. };