Beispiel #1
0
bool ShapeEqual(const BaseShape& a,const BaseShape& b)
{
	if (a.get_x()!=b.get_x())	return false;
	if (a.get_y()!=b.get_y())	return false;
	if (a.get_color()!=b.get_color())	return false;
	if (a.get_dir()!=b.get_dir())	return false;
	return true;
}