1 #ifndef ERIS_ENTITY_REF_H
2 #define ERIS_ENTITY_REF_H
4 #include <sigc++/trackable.h>
5 #include <sigc++/signal.h>
33 const Entity& operator*()
const
43 const Entity* operator->()
const
60 return (m_inner != NULL);
63 bool operator!()
const
65 return (m_inner == NULL);
70 return (m_inner == e.m_inner);
73 bool operator==(
const Entity* e)
const
75 return (m_inner == e);
80 return (m_inner < e.m_inner);
83 sigc::signal0<void> Changed;
85 void onEntityDeleted();
86 void onEntitySeen(
Entity* e);
93 #endif // of ERIS_ENTITY_REF_H
Definition: EntityRef.h:14
View encapsulates the set of entities currently visible to an Avatar, as well as those that have rece...
Definition: View.h:33
Entity is a concrete (instantiable) class representing one game entity.
Definition: Entity.h:57