deliverable versio

This commit is contained in:
Christos Houtouridis 2018-01-18 23:01:11 +02:00
parent e9f6751355
commit 1165c7746f

View File

@ -234,6 +234,11 @@ public class Node89978445
* @brief
* Static version of move validation to use outside of the class
* Check if the requested move for a node is valid
* @param node The node of interest
* @param move The move to check
* @return The hypothetical new position of pacman
* @arg The resulting position in maze if the move is valid.
* @arg If it is not valid return Globals.POSITION_FALSE
*/
public static int[] pacmanValidMove (Node89978445 node, int move) {
return node.pacmanValidMove (node.nodeXY, move);