1#ifndef ERIS_VIEW_ENTITY_H_
2#define ERIS_VIEW_ENTITY_H_
Entity is a concrete (instantiable) class representing one game entity.
The representation of an Atlas type (i.e a class or operation definition). This class supports effice...
An entity which is bound to an Eris::View. This subclass of Eris::Entity is intimately bound to a Vie...
Entity * getEntity(const std::string &id) override
Gets an entity with the supplied id from the system.
void onTaskAdded(const std::string &id, Task *task) override
Over-rideable hook for when tasks are added.
View & m_view
The View which owns this Entity.
virtual View * getView() const
Gets the view to which this entity belongs, if any.
ViewEntity(std::string id, TypeInfo *ty, View &view)
Ctor.
void task_ProgressRateChanged(Task *task)
Listen to task progress rates updates and send to the view.