else return false;
}
-bool CItem::is_other_occupied_area(int _a, int _b)
+bool CItem::is_other_connection_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) )
+ if ( temp->is_connection_area(_a,_b) )
return true;
i++;
}