Class SugarGame

java.lang.Object
  extended bySugarGame

public class SugarGame
extends java.lang.Object

LOL


Constructor Summary
SugarGame(java.lang.String name1, java.lang.String name2)
           
 
Method Summary
static int getAgentID(int x, int y)
           
static int getCellCapacity(int x, int y)
           
static int getGridSize()
           
 int getNumPlayers()
           
static int getSugarAmount(int x, int y)
           
static boolean isStillAlive(int agentNum)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SugarGame

public SugarGame(java.lang.String name1,
                 java.lang.String name2)
Method Detail

getAgentID

public static int getAgentID(int x,
                             int y)

getSugarAmount

public static int getSugarAmount(int x,
                                 int y)

getCellCapacity

public static int getCellCapacity(int x,
                                  int y)

isStillAlive

public static boolean isStillAlive(int agentNum)

getGridSize

public static int getGridSize()

getNumPlayers

public int getNumPlayers()