|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--AgentInfo
This class is used to represent all information about one player. For every object the following information is stored:
Field Summary | |
(package private) Ball |
ball
|
private int |
coNumber
|
(package private) PlayerInfos[] |
coPlayer
|
private int |
oppNumber
|
(package private) PlayerInfos[] |
oppPlayer
|
(package private) OwnPlayerInfos |
own
|
Constructor Summary | |
(package private) |
AgentInfo()
constructor for an AgentInfo object which stores all the information a player knows abou the things he had seen |
Method Summary | |
int |
getCoNumber()
gets the number of the co-players viewable |
int |
getOppNumber()
gets the number of the opp-players viewable |
void |
incCoNumber()
increases the number of the co-players viewable |
void |
incOppNumber()
increases the number of the opp-players viewable |
void |
print()
prints all information stored in AgentInfo usefull for debugging |
void |
reset()
resets the Information stored in AgentInfo except of OwnPlayerInfo |
Methods inherited from class java.lang.Object |
|
Field Detail |
private int oppNumber
private int coNumber
PlayerInfos[] coPlayer
PlayerInfos[] oppPlayer
Ball ball
OwnPlayerInfos own
Constructor Detail |
AgentInfo()
Method Detail |
public void reset()
public int getCoNumber()
public void incCoNumber()
public int getOppNumber()
public void incOppNumber()
public void print()
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |