/TGame/TCommon/Entity/EntityBuilderIf.h

http://awoe.googlecode.com/ · C Header · 21 lines · 11 code · 5 blank · 5 comment · 0 complexity · d0c0d46812ada1adc5a1914b976d0682 MD5 · raw file

  1. #ifndef __ENTITY_CREATOR_INTERFACE__
  2. #define __ENTITY_CREATOR_INTERFACE__
  3. #include "EntityIf.h"
  4. //
  5. // Entity Creator Interface
  6. //
  7. class TCOM_API IEntityBuilder
  8. {
  9. public:
  10. IEntityBuilder(){;}
  11. virtual ~IEntityBuilder(){;}
  12. //
  13. // create and delete entities
  14. virtual IEntity* build() = 0;
  15. };
  16. #endif