vooga.games.tron
Class GridSpace

java.lang.Object
  extended by vooga.games.tron.GridSpace

public class GridSpace
extends java.lang.Object

This class holds the basic layout for the game (which is the grid space)


Constructor Summary
GridSpace(int totalRow, int totalColumn)
           
 
Method Summary
 int getTotalColumn()
          get the total number of columns in the grid
 int getTotalRow()
          get the total number of rows in the grid
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GridSpace

public GridSpace(int totalRow,
                 int totalColumn)
Method Detail

getTotalRow

public int getTotalRow()
get the total number of rows in the grid

Returns:

getTotalColumn

public int getTotalColumn()
get the total number of columns in the grid

Returns: