Class EstadoMovendo
java.lang.Object
EstadoMovendo
- All Implemented Interfaces:
- Estado
public class EstadoMovendo
- extends java.lang.Object
- implements Estado
Field Summary |
(package private) Figura |
f
|
(package private) ModeloEditor |
modelo
|
(package private) int |
x
|
(package private) int |
x0
|
(package private) int |
y
|
(package private) int |
y0
|
Methods inherited from class |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
f
Figura f
modelo
ModeloEditor modelo
x
int x
x0
int x0
y
int y
y0
int y0
EstadoMovendo
public EstadoMovendo(ModeloEditor modelo,
Figura f,
int x,
int y)
desenhar
public void desenhar(Canvas c)
- Specified by:
desenhar
in interface Estado
parcial
public void parcial(int x,
int y)
- Specified by:
parcial
in interface Estado
selecionar
public void selecionar(int x,
int y)
- Specified by:
selecionar
in interface Estado
terminar
public void terminar(int x,
int y)
- Specified by:
terminar
in interface Estado
toggle
public void toggle()
- Specified by:
toggle
in interface Estado