A java PacMan game application for A.U.TH (data structures class)
Вы не можете выбрать более 25 тем
Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
|
- package gr.auth.ee.dsproject.node;
-
- import gr.auth.ee.dsproject.pacman.Room;
-
- import java.util.ArrayList;
-
- public class Node
- {
-
- int nodeX;
- int nodeY;
- int depth;
- int nodeMove;
- double nodeEvaluation;
- int[][] currentGhostPos;
- int[][] flagPos;
- boolean[] currentFlagStatus;
-
- Node parent;
- ArrayList<Node> children = new ArrayList<Node>();
-
- // Constructor
- public Node ()
- {
- // TODO Fill This
- }
-
- private int[][] findGhosts (Room[][] Maze)
- {
- // TODO Fill This
- }
-
- private int[][] findFlags (Room[][] Maze)
- {
- // TODO Fill This
- }
-
- private boolean[] checkFlags (Room[][] Maze)
- {
-
- // TODO Fill This
- }
-
- private double evaluate ()
- {
-
- double evaluation = (200 * Math.random()) - 100;
- return evaluation;
-
- }
-
- }
|