brique
Class PorteNormale
java.lang.Object
|
+--brique.PorteNormale
- All Implemented Interfaces:
- Lieu, Porte
- public class PorteNormale
- extends java.lang.Object
- implements Porte, Lieu
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PorteNormale
public PorteNormale()
PorteNormale
public PorteNormale(int d1,
brique.Salle s1,
brique.Salle s2,
boolean b)
poserPorte
public void poserPorte(int d1,
brique.Salle s1,
brique.Salle s2,
boolean b)
- Specified by:
poserPorte
in interface Porte
entrer
public boolean entrer()
- Specified by:
entrer
in interface Lieu
acqDirection
public int acqDirection(brique.Salle s)
- Specified by:
acqDirection
in interface Porte
acqAutreCote
public brique.Salle acqAutreCote(brique.Salle s)
- Specified by:
acqAutreCote
in interface Porte