|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjadex.examples.marsworld.AgentInfo
public class AgentInfo
The agent info class containing info about the robots.
Constructor Summary | |
---|---|
AgentInfo(String name,
String type,
Location location,
double vision)
Create a new agent info. |
Method Summary | |
---|---|
boolean |
equals(Object o)
Two agent infos are the same when their name is equal. |
Location |
getLocation()
Get the location. |
String |
getName()
Get the name. |
String |
getType()
Get the type. |
double |
getVision()
Get the vision. |
void |
setLocation(Location location)
Set the location. |
void |
setName(String name)
Setter for name. |
void |
setType(String type)
Setter for type. |
void |
setVision(double vision)
Setter for vision. |
Methods inherited from class java.lang.Object |
---|
getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AgentInfo(String name, String type, Location location, double vision)
Method Detail |
---|
public String getName()
public String getType()
public Location getLocation()
public double getVision()
public void setLocation(Location location)
location
- The location.public void setName(String name)
name
- The AgentInfo.java value to setpublic void setType(String type)
type
- The AgentInfo.java value to setpublic void setVision(double vision)
vision
- The AgentInfo.java value to setpublic boolean equals(Object o)
equals
in class Object
|
Jadex 0.96 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright (C) 2002-2007 Lars Braubach, Alexander Pokahr - University of Hamburg. Use is subject to license terms.