From 1165c7746f07864394134945c8866ef0a1376168 Mon Sep 17 00:00:00 2001 From: Christos Houtouridis Date: Thu, 18 Jan 2018 23:01:11 +0200 Subject: [PATCH] deliverable versio --- src/gr/auth/ee/dsproject/node/Node89978445.java | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/gr/auth/ee/dsproject/node/Node89978445.java b/src/gr/auth/ee/dsproject/node/Node89978445.java index 897c9e1..026b2c1 100755 --- a/src/gr/auth/ee/dsproject/node/Node89978445.java +++ b/src/gr/auth/ee/dsproject/node/Node89978445.java @@ -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);