spill
Class Spillebrett
java.lang.Object
spill.Spillebrett
public class Spillebrett
- extends java.lang.Object
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
RAD_ANTALL
public static final int RAD_ANTALL
- See Also:
- Constant Field Values
KOLONNE_ANTALL
public static final int KOLONNE_ANTALL
- See Also:
- Constant Field Values
RUTE_ANTALL
public static final int RUTE_ANTALL
- See Also:
- Constant Field Values
Spillebrett
public Spillebrett(IBrikkeIdentitet[] identiteter,
IBrikkeIdentitet tomRute)
Spillebrett
public Spillebrett(IBrikkeIdentitet[] identiteter,
IBrikkeIdentitet tomRute,
IGrensesnitt grensesnitt)
nullstill
public void nullstill()
brikkeVed
public IBrikkeIdentitet brikkeVed(int kolonne,
int rad)
harVinner
public boolean harVinner()
erSpillFerdig
public boolean erSpillFerdig()
slippBrikkeNedKolonne
public void slippBrikkeNedKolonne(IBrikkeIdentitet brikke,
int kolonne)
erKolonneFull
public boolean erKolonneFull(int kolonne)
erGyldigKolonneValg
public boolean erGyldigKolonneValg(int kolonne)
nesteBrikke
public IBrikkeIdentitet nesteBrikke()