|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectlsagpi.DibujarCajas
public class DibujarCajas
Dibuja los bordes de los elementos de cuarto actual.
Constructor Summary | |
---|---|
DibujarCajas(java.util.Vector elemens,
java.awt.image.ImageObserver obs)
Constructor Dibujar Cajas. |
Method Summary | |
---|---|
java.lang.String |
evaluarPosicion(int x,
int y)
Evalua la posicion para determinar si hay algun elemento. |
java.lang.String |
evaluarPosicionInventario(int x,
int y,
int desplazamientox,
int desplazamientoy,
Aventura propietario)
Evalua la posicion del elemento cuando esta en el inventario. |
Elemento |
getElemento(int x,
int y)
Evalua la posicion para determinar si hay algun elemento. |
Elemento |
getElementoInventario()
Devuelve el elemento seleccionado del inventario |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public DibujarCajas(java.util.Vector elemens, java.awt.image.ImageObserver obs)
elemens
- elementos del cuarto actual.obs
- Observador.Method Detail |
---|
public java.lang.String evaluarPosicion(int x, int y)
x
- posicion x.y
- posicion y.
public java.lang.String evaluarPosicionInventario(int x, int y, int desplazamientox, int desplazamientoy, Aventura propietario)
x
- Posicion del cursor xy
- Posicion del cursor ydesplazamientox
- Ancho de los cuadros de Inventariodesplazamientoy
- Alto de los cuadros de Inventariopropietario
- Aventura.
public Elemento getElemento(int x, int y)
x
- posicion x.y
- posicion y.
public Elemento getElementoInventario()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |