#ifdef POSITION /* * $Id$ * * [ Description ] * */ #include "Behavioural/include/Entity.h" namespace morpheo { namespace behavioural { void Entity::mapping (uint32_t pos_x, uint32_t pos_y, uint32_t size_x , uint32_t size_y ) { if (_is_map != false) throw (ErrorMorpheo ("Entity \""+_name+"\" is already mapped")); _is_map = true; _map_size_x = size_x; _map_size_y = size_y; _map_pos_x = pos_x ; _map_pos_y = pos_y ; }; }; // end namespace behavioural }; // end namespace morpheo #endif