|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectMove
public class Move
Classe che genera le mosse possibili da eseguire e gestisce le esecuzioni delle mosse.
Constructor Summary | |
---|---|
Move()
|
Method Summary | |
---|---|
static boolean |
inRange(int i,
int j)
Metodo che controlla se una posizione e' legale, ossia se si trova all'interno della board |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Move()
Method Detail |
---|
public static boolean inRange(int i, int j)
i
- coordinata x della posizione da controllarej
- coordinata y della posizione da controllare
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |