28 if(nodeNum == 1 || nodeNum == 7 || nodeNum == 8 || nodeNum == 14)
31 }
else if(nodeNum == 3 || nodeNum == 5 || nodeNum == 13 || nodeNum == 15)
34 }
else if(nodeNum == 2 || nodeNum == 4 || nodeNum == 9 || nodeNum == 12)
37 }
else if(nodeNum == 6 || nodeNum == 10 || nodeNum == 11)
40 }
else if(nodeNum == 0)
49 for(
int i=0; i<5; i++){
50 neighbor[i] = nodes[i];
void setPosition(int x, int y)
void setHasBlock(bool exists)
void setNeighbor(Node **nodes)