Class Pyramide
java.lang.Object
|
+--java.util.Observable
|
+--Pyramide
- public class Pyramide
- extends java.util.Observable
- implements Volume
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 |
Pyramide
public Pyramide()
Pyramide
public Pyramide(int x,
int y,
int z)
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)