1 #ifndef ERIS_VIEW_ENTITY_H_ 2 #define ERIS_VIEW_ENTITY_H_ 57 virtual void onTalk(
const Atlas::Objects::Operation::RootOperation& talk);
60 const Atlas::Objects::Operation::RootOperation& op);
void task_ProgressRateChanged(Task *task)
Listen to task progress rates updates and send to the view.
Definition: ViewEntity.cpp:78
View * m_view
The View which owns this Entity.
Definition: ViewEntity.h:49
virtual void onTalk(const Atlas::Objects::Operation::RootOperation &talk)
process TALK data - default implementation emits the Say signal.
Definition: ViewEntity.cpp:36
virtual void removeFromMovementPrediction()
Removes the entity from any movement prediction service.
Definition: ViewEntity.cpp:53
The representation of an Atlas type (i.e a class or operation definition).
Definition: TypeInfo.h:31
View encapsulates the set of entities currently visible to an Avatar, as well as those that have rece...
Definition: View.h:37
virtual View * getView() const
Gets the view to which this entity belongs, if any.
Definition: ViewEntity.h:83
virtual void addToMovementPredition()
Adds the entity to any movement prediction service.
Definition: ViewEntity.cpp:57
virtual TypeService * getTypeService() const
Gets the typeservice used throughout the Eris system.
Definition: ViewEntity.cpp:32
EntityRouter * m_router
A router instance which routes messages from the view into this entity.
Definition: ViewEntity.h:55
Every Eris class and type lives inside the Eris namespace; certain utility functions live in the Util...
Definition: Account.cpp:34
ViewEntity(const std::string &id, TypeInfo *ty, View *view)
Ctor.
Definition: ViewEntity.cpp:14
An entity which is bound to an Eris::View.
Definition: ViewEntity.h:21
virtual void onVisibilityChanged(bool vis)
over-rideable hook when the actual (computed) visiblity of this entity changed.
Definition: ViewEntity.cpp:47
virtual void shutdown()
Shuts down the entity.
Definition: ViewEntity.cpp:24
A service class querying and caching types.
Definition: TypeService.h:24
Entity is a concrete (instantiable) class representing one game entity.
Definition: Entity.h:58
virtual void onTaskAdded(Task *task)
Over-rideable hook for when tasks are added.
Definition: ViewEntity.cpp:72
virtual void onSoundAction(const Atlas::Objects::Operation::RootOperation &op)
Over-rideable hook when this entity is heard performing an action.
Definition: ViewEntity.cpp:41
Definition: EntityRouter.h:9
virtual Entity * getEntity(const std::string &id)
Gets an entity with the supplied id from the system.
Definition: ViewEntity.cpp:61