Effect.h 364 B

12345678910111213141516171819202122232425
  1. #pragma once
  2. #include <Text.h>
  3. class Entity;
  4. class EffectFactory;
  5. class Effect : public virtual Framework::ReferenceCounter
  6. {
  7. private:
  8. Framework::Text name;
  9. float duration;
  10. Effect( Entity* zTarget );
  11. public:
  12. ~Effect();
  13. virtual void tick();
  14. Framework::Text getName() const;
  15. float getDuration() const;
  16. friend EffectFactory;
  17. };