|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.util.Observable
br.edu.fei.dcc.raciocinioespacial.simulador.entidades.Pedestrian2D
br.edu.fei.dcc.raciocinioespacial.simulador.entidades.Vehicle2D
br.edu.fei.dcc.raciocinioespacial.simulador.entidades.Agent2D
public class Agent2D
Constructor Summary | |
---|---|
Agent2D()
|
|
Agent2D(int x,
int y,
int width,
int height,
java.lang.String nome,
java.awt.Color cor,
java.util.ArrayList<java.awt.Point> pontos,
int profundidade,
float angulo)
|
|
Agent2D(int x,
int y,
int width,
int height,
java.lang.String nome,
java.awt.Color cor,
int profundidade,
float angulo)
|
|
Agent2D(int x,
int y,
int width,
int height,
java.lang.String nome,
int profundidade,
float angulo)
|
Method Summary | |
---|---|
float |
getAngulo()
Getter of the property angulo |
java.awt.geom.Arc2D |
getCampoVisao2D_Old()
|
java.awt.geom.Arc2D |
getCampoVisao2D()
|
float[] |
getDirecao()
Getter of the property direcao |
int |
getProfundidade()
Getter of the property profundidade |
boolean |
hasMovement()
|
void |
setAngulo(float angulo)
Setter of the property angulo |
void |
setDirecao(float direcao,
int index)
Setter of the property direcao |
void |
setProfundidade(int profundidade)
Setter of the property profundidade |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.simulador.entidades.Vehicle2D |
---|
calculaDirecoes, getObjeto2D, getRect |
Methods inherited from class br.edu.fei.dcc.raciocinioespacial.simulador.entidades.Pedestrian2D |
---|
criarEntidade, getCor, getHeight, getNome, getPontos, getSentido, getTempoTotalMovimentacao, getVelocidade, getWidth, getX, getY, move, moveInitialPos, notificarObservadores, notifyObservers, setCor, setHeight, setNome, setPontos, setSentido, setVelocidade, setWidth, setX, setY, transformEntidadeMovelToObjeto2D |
Methods inherited from class java.util.Observable |
---|
addObserver, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Agent2D(int x, int y, int width, int height, java.lang.String nome, int profundidade, float angulo)
public Agent2D(int x, int y, int width, int height, java.lang.String nome, java.awt.Color cor, int profundidade, float angulo)
public Agent2D()
public Agent2D(int x, int y, int width, int height, java.lang.String nome, java.awt.Color cor, java.util.ArrayList<java.awt.Point> pontos, int profundidade, float angulo)
Method Detail |
---|
public float getAngulo()
public float[] getDirecao()
getDirecao
in class Vehicle2D
public int getProfundidade()
public java.awt.geom.Arc2D getCampoVisao2D()
public java.awt.geom.Arc2D getCampoVisao2D_Old()
public void setAngulo(float angulo)
angulo
- The angulo to set.public void setDirecao(float direcao, int index)
setDirecao
in class Vehicle2D
direcao
- The direcao to set.public void setProfundidade(int profundidade)
profundidade
- The profundidade to set.public boolean hasMovement()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |