Class Pyramide

java.lang.Object
  |
  +--java.util.Observable
        |
        +--Pyramide

public class Pyramide
extends java.util.Observable
implements Volume


Constructor Summary
Pyramide()
           
Pyramide(int x, int y, int z)
           
 
Method Summary
 java.lang.Integer getSurface(char axe)
           
 java.lang.Integer getVolume()
           
 void setEtat(int x, int y, int z)
           
 void setX(int x)
           
 void setY(int y)
           
 void setZ(int z)
           
 
Methods inherited from class java.util.Observable
addObserver, clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Pyramide

public Pyramide()

Pyramide

public Pyramide(int x,
                int y,
                int z)
Method Detail

getVolume

public java.lang.Integer getVolume()
Specified by:
getVolume in interface Volume

getSurface

public java.lang.Integer getSurface(char axe)
Specified by:
getSurface in interface Volume

setEtat

public void setEtat(int x,
                    int y,
                    int z)

setX

public void setX(int x)

setY

public void setY(int y)

setZ

public void setZ(int z)