4 #include <Atlas/Objects/ObjectsFwd.h>
22 virtual bool accept(
const Atlas::Objects::Entity::RootEntity &ge,
TypeInfo* type) = 0;
virtual int priority()
retrieve this factory's priority level; higher priority factories get first chance to process a recei...
Definition: Factory.cpp:13
Entity is a concrete (instantiable) class representing one game entity.
Definition: Entity.h:57
virtual Entity * instantiate(const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type, View *v)=0
create whatever entity the client desires
Factory is used to allow custom entity creation by client libraries.
Definition: Factory.h:14
virtual bool accept(const Atlas::Objects::Entity::RootEntity &ge, TypeInfo *type)=0
Accept is called by the world to test if this factory can instantiate the specified object.
The representation of an Atlas type (i.e a class or operation definition).
Definition: TypeInfo.h:37
View encapsulates the set of entities currently visible to an Avatar, as well as those that have rece...
Definition: View.h:33