|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.jos.game.logic.NInARowValidator
public class NInARowValidator
Field Summary | |
---|---|
static int |
DEFAULT_REQUIRED_ALIGNED_BULLETS
|
static int |
REQUIRED_ALIGNED_BULLETS_FOUR
|
Constructor Summary | |
---|---|
NInARowValidator()
|
Method Summary | |
---|---|
java.util.List<Bullet> |
checkNInARow(Bullet[][] board)
|
void |
findConnectedBullets(Bullet[][] board,
java.util.List<Position> list,
Position pos)
|
void |
setRequiredAlignedBullets(int requiredAlignedBullets)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int DEFAULT_REQUIRED_ALIGNED_BULLETS
public static final int REQUIRED_ALIGNED_BULLETS_FOUR
Constructor Detail |
---|
public NInARowValidator()
Method Detail |
---|
public java.util.List<Bullet> checkNInARow(Bullet[][] board)
public void findConnectedBullets(Bullet[][] board, java.util.List<Position> list, Position pos)
public void setRequiredAlignedBullets(int requiredAlignedBullets)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |