Files
fishtanks/src/Component.h
T
2014-04-27 07:48:16 +02:00

16 lines
249 B
C++
Executable File

#ifndef Component_h__
#define Component_h__
#include "Factory.h"
#include "Entity.h"
struct Component
{
EntityID Entity;
virtual Component* Clone() const = 0;
};
class ComponentFactory : public Factory<Component*> { };
#endif // Component_h__