+ return name;
+}
+
+int CItem::get_conector_in()
+{
+ return conector_in;
+}
+
+int CItem::get_conector_out()
+{
+ return conector_out;
+}
+
+int CItem::get_img_actual()
+{
+ return imgActual;
+}
+
+bool CItem::is_occupied_area(int _a, int _b)
+{
+ if ( ( _a >= x ) && ( _a < x+image->get_width()) && (_b >= y) && (_b < y+image->get_height()) )
+ return true;
+ else return false;
+}
+
+bool CItem::is_other_occupied_area(int _a, int _b)
+{
+ std::list<CItem *>::iterator i = listaItems->begin();
+ while ( i != listaItems->end() ){
+ CItem *temp = *i;
+ if ( temp->is_occupied_area(_a,_b) )
+ return true;
+ i++;
+ }
+ return false;