Class SugarGame
java.lang.Object
SugarGame
- public class SugarGame
- extends java.lang.Object
LOL
Constructor Summary |
SugarGame(java.lang.String name1,
java.lang.String name2)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SugarGame
public SugarGame(java.lang.String name1,
java.lang.String name2)
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()