br.edu.fei.dcc.raciocinioespacial.simulador.entidades
Class Street2D
java.lang.Object
br.edu.fei.dcc.raciocinioespacial.simulador.entidades.Street2D
- All Implemented Interfaces:
- IEntidade, java.io.Serializable, java.lang.Cloneable
public class Street2D
- extends java.lang.Object
- implements IEntidade
- See Also:
- Serialized Form
Constructor Summary |
Street2D(int aX,
int aY,
int aHeight,
int aWidth,
java.lang.String aNameStreet)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Street2D
public Street2D(int aX,
int aY,
int aHeight,
int aWidth,
java.lang.String aNameStreet)
getX
public int getX()
- Specified by:
getX
in interface IEntidade
setX
public void setX(int ix)
- Specified by:
setX
in interface IEntidade
getY
public int getY()
- Specified by:
getY
in interface IEntidade
setY
public void setY(int iy)
- Specified by:
setY
in interface IEntidade
criarEntidade
public IEntidade criarEntidade()
- Specified by:
criarEntidade
in interface IEntidade
getHeight
public int getHeight()
- Specified by:
getHeight
in interface IEntidade
setHeight
public void setHeight(int height)
- Specified by:
setHeight
in interface IEntidade
getWidth
public int getWidth()
- Specified by:
getWidth
in interface IEntidade
getNome
public java.lang.String getNome()
- Specified by:
getNome
in interface IEntidade
setNome
public void setNome(java.lang.String nome)
- Specified by:
setNome
in interface IEntidade
setWidth
public void setWidth(int width)
- Specified by:
setWidth
in interface IEntidade
getRect2D
public java.awt.geom.RectangularShape getRect2D()