ParticleSystemFactory.h 543 B

1234567891011121314151617181920212223242526
  1. #ifndef PARTICLE_SYSTEM_FACTORY_H
  2. #define PARTICLE_SYSTEM_FACTORY_H
  3. #include <OgreMovableObject.h>
  4. class ParticleSystemFactory : public Ogre::MovableObjectFactory
  5. {
  6. public:
  7. ParticleSystemFactory() {};
  8. ~ParticleSystemFactory() {};
  9. static Ogre::String FACTORY_TYPE_NAME;
  10. const Ogre::String& getType() const;
  11. void destroyInstance(Ogre::MovableObject* obj);
  12. private:
  13. Ogre::MovableObject* createInstanceImpl(const Ogre::String& name, const Ogre::NameValuePairList* params);
  14. };
  15. #endif // PARTICLE_SYSTEM_FACTORY_H