net.damf.games.janimine
Class MapActions

java.lang.Object
  extended by net.damf.games.janimine.MapActions

public class MapActions
extends java.lang.Object


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

Field Detail

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
Constructor Detail

MapActions

public MapActions(char[][] tempDispMap,
                  int[][] tempMineMap,
                  int tempConvertCol,
                  int tempConvertRow)
Method Detail

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()