edu.ou.pacman.template
Class TemplateUploader
java.lang.Object
edu.ou.pacman.template.TemplateUploader
public final class TemplateUploader
- extends java.lang.Object
Class used to create gameBoards from txt file templates. Keeps track of the aspects of the
layout for use in the gameBoard.
- Author:
- Derek Rushing
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TemplateUploader
public TemplateUploader(java.lang.String template)
blockedDownLocations
public boolean[][] blockedDownLocations()
blockedLeftLocations
public boolean[][] blockedLeftLocations()
blockedRightLocations
public boolean[][] blockedRightLocations()
blockedUpLocations
public boolean[][] blockedUpLocations()
boardHeight
public int boardHeight()
boardWidth
public int boardWidth()
bonusItemLocations
public boolean[][] bonusItemLocations()
blueLocations
public java.util.ArrayList<Location2D> blueLocations()
goalState
public Location2D goalState()
orangeLocations
public java.util.ArrayList<Location2D> orangeLocations()
pinkLocations
public java.util.ArrayList<Location2D> pinkLocations()
redLocations
public java.util.ArrayList<Location2D> redLocations()
pacmanLocations
public java.util.ArrayList<Location2D> pacmanLocations()
pelletLocations
public boolean[][] pelletLocations()
upgradeLocations
public boolean[][] upgradeLocations()
xThroughways
public boolean[] xThroughways()
yThroughways
public boolean[] yThroughways()