1 #include "ViewEntity.h" 3 #include "Connection.h" 4 #include "EntityRouter.h" 9 #include <sigc++/bind.h> 19 ViewEntity::~ViewEntity() =
default;
23 if (!child || !child->m_visible) {
27 m_view.getEntityFromServer(
id);
void task_ProgressRateChanged(Task *task)
Listen to task progress rates updates and send to the view.
The representation of an Atlas type (i.e a class or operation definition). This class supports effice...
void taskRateChanged(Task *)
virtual void onTaskAdded(const std::string &id, Task *task)
Over-rideable hook for when tasks are added.
View & m_view
The View which owns this Entity.
Entity * getEntity(const std::string &id) override
Gets an entity with the supplied id from the system.
Entity is a concrete (instantiable) class representing one game entity.
void onTaskAdded(const std::string &id, Task *task) override
Over-rideable hook for when tasks are added.
ViewEntity(std::string id, TypeInfo *ty, View &view)
Ctor.
ViewEntity * getEntity(const std::string &eid) const