fix up documentation, remove asserts
This commit is contained in:
parent
acaa18ffcc
commit
7d7e660c77
@ -319,8 +319,8 @@ public class Controller {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
// this realistically should never happen... sorry!
|
System.out.println("If you see this, congrats! this should never happen. please email me.");
|
||||||
return null;
|
return new int[]{0, 0};
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -336,7 +336,8 @@ public class Controller {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Iterates through the grid to find all tiles that are either blank or flagged
|
* Iterates through the grid to find all tiles that are either blank or flagged.
|
||||||
|
* Used to check if win condition has been met
|
||||||
*
|
*
|
||||||
* @return The number of tiles that were blank or flagged
|
* @return The number of tiles that were blank or flagged
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user