enum bool是什么类型???
enum bool Confilict(int ShapeIndex,int x,int y)
{
int i;
for (i=0;i<=7;i++,i++)
{
if (shapes[ShapeIndex].xy[i]+x<1 ||
shapes[ShapeIndex].xy[i]+x>10) return True;
if (shapes[ShapeIndex].xy[i+1]+y<1) continue;
if (board[shapes[ShapeIndex].xy[i]+x][shapes[ShapeIndex].xy[i+1]+y])
return True;
}
return False;
}
enum bool是什么类型来的?
enum bool Confilict(int ShapeIndex,int x,int y)这代表什么意思?