#ifdef POSITION
/*
 * $Id$
 *
 * [ Description ]
 * 
 */

#include "Behavioural/include/Position.h"

namespace morpheo              {
namespace behavioural          {

  void Position::set_component (Position * position,
				uint32_t   pos_x  ,
				uint32_t   pos_y  ,
				uint32_t   size_x ,
				uint32_t   size_y )
  {
    Entity * entity = position->_entity;

    _list_component->push_back(entity);

    entity->mapping( pos_x, pos_y, size_x, size_y);
  };

}; // end namespace behavioural          
}; // end namespace morpheo              
#endif
