Class PorteNormale

java.lang.Object
  |
  +--PorteNormale

public class PorteNormale
extends java.lang.Object
implements Porte, Lieu


Constructor Summary
PorteNormale()
           
PorteNormale(int d1, Salle s1, Salle s2, boolean b)
           
 
Method Summary
 Salle acqAutreCote(Salle s)
           
 int acqDirection(Salle s)
           
 boolean entrer()
           
 void poserPorte(int d1, Salle s1, Salle s2, boolean b)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PorteNormale

public PorteNormale()

PorteNormale

public PorteNormale(int d1,
                    Salle s1,
                    Salle s2,
                    boolean b)
Method Detail

poserPorte

public void poserPorte(int d1,
                       Salle s1,
                       Salle s2,
                       boolean b)
Specified by:
poserPorte in interface Porte

entrer

public boolean entrer()
Specified by:
entrer in interface Lieu

acqDirection

public int acqDirection(Salle s)
Specified by:
acqDirection in interface Porte

acqAutreCote

public Salle acqAutreCote(Salle s)
Specified by:
acqAutreCote in interface Porte