|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.ObjectboardRules
public class boardRules
| Field Summary | |
|---|---|
static int[] |
directions
|
| Constructor Summary | |
|---|---|
boardRules()
|
|
| Method Summary | |
|---|---|
static int[] |
AIbracket(MyButton[] bBoard,
int player,
int spot)
|
static MyButton[] |
bracket(MyButton[] bBoard,
int player,
int spot)
|
static int[] |
getLegalMoves(MyButton[] bBoard,
int player)
|
static int |
opponentColor(int player)
|
static boolean |
wouldBracket(MyButton[] bBoard,
int player,
int spot)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static int[] directions
| Constructor Detail |
|---|
public boardRules()
| Method Detail |
|---|
public static MyButton[] bracket(MyButton[] bBoard,
int player,
int spot)
public static int[] AIbracket(MyButton[] bBoard,
int player,
int spot)
public static boolean wouldBracket(MyButton[] bBoard,
int player,
int spot)
public static int[] getLegalMoves(MyButton[] bBoard,
int player)
public static int opponentColor(int player)
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||