net.damf.games.janimine
Class MapActions
java.lang.Object
net.damf.games.janimine.MapActions
public class MapActions
- extends java.lang.Object
Constructor Summary |
MapActions(char[][] tempDispMap,
int[][] tempMineMap,
int tempConvertCol,
int tempConvertRow)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
displayMap
private char[][] displayMap
mineMap
private int[][] mineMap
convertCol
private int convertCol
convertRow
private int convertRow
janAtX
private int janAtX
janAtY
private int janAtY
janOver
private char janOver
MapActions
public MapActions(char[][] tempDispMap,
int[][] tempMineMap,
int tempConvertCol,
int tempConvertRow)
flag
public void flag(int x,
int y)
moveCharacter
public void moveCharacter(int spacesEast,
int spacesSouth)
spaceSearch
public void spaceSearch(int x,
int y)
outreach
public void outreach(int x,
int y)
outreach
private int outreach(int x,
int y,
boolean bib)
isOnMap
private boolean isOnMap(int x,
int y)
printOut
public void printOut()
getJanAtX
public int getJanAtX()
getJanAtY
public int getJanAtY()
getJanOver
public char getJanOver()