10 #include <EntityProject/facade/delivery_system.h> 94 std::vector<float> position;
95 std::vector<float> direction;
100 picojson::object details;
106 #endif // ENTITY_BASE_H_ bool IsWithin(IEntity *another)
Definition: entity_base.cc:44
const picojson::object & GetDetails()
Definition: entity_base.cc:10
int GetVersion() const
Definition: entity_base.cc:30
const std::string & GetName()
Definition: entity_base.cc:14
Definition: asubject.cc:3
int GetId() const
Definition: entity_base.cc:6
bool IsDynamic() const
Definition: entity_base.cc:34
The base class for creating entities.
Definition: entity_base.h:27
A movable object in a scene. Entities have position, direction and size.
Definition: entity.h:15
float GetRadius() const
Definition: entity_base.cc:26
const std::vector< float > & GetDirection() const
Definition: entity_base.cc:22
float DistanceBetween(IEntity *another)
Definition: entity_base.cc:38
std::string GetType()
Definition: entity_base.cc:51
const std::vector< float > & GetPosition() const
Definition: entity_base.cc:18