Explorar el Código

deliverable versio

master
Christos Houtouridis hace 6 años
padre
commit
1165c7746f
Se han modificado 1 ficheros con 5 adiciones y 0 borrados
  1. +5
    -0
      src/gr/auth/ee/dsproject/node/Node89978445.java

+ 5
- 0
src/gr/auth/ee/dsproject/node/Node89978445.java Ver fichero

@@ -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);


Cargando…
Cancelar
Guardar