EffectFactory.h 249 B

1234567891011121314
  1. #pragma once
  2. #include "Effect.h"
  3. class EffectFactory : public virtual Framework::ReferenceCounter
  4. {
  5. private:
  6. Framework::Text effectName;
  7. public:
  8. EffectFactory(Framework::Text effectName);
  9. virtual Effect* createEffectOn(Entity* target) = 0;
  10. };