Class Obstacle
- java.lang.Object
-
- jadex.bdi.examples.hunterprey_classic.WorldObject
-
- jadex.bdi.examples.hunterprey_classic.Obstacle
-
public class Obstacle extends WorldObject
Editable Java class for concept Obstacle of hunterprey ontology.
-
-
Field Summary
-
Fields inherited from class jadex.bdi.examples.hunterprey_classic.WorldObject
location
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
toString()
Get a string representation of this Obstacle.-
Methods inherited from class jadex.bdi.examples.hunterprey_classic.WorldObject
equals, getLocation, hashCode, setLocation
-
-
-
-
Constructor Detail
-
Obstacle
public Obstacle()
Create a new Obstacle.
-
Obstacle
public Obstacle(Location location)
Create a new Obstacle.
-
-
Method Detail
-
toString
public java.lang.String toString()
Get a string representation of this Obstacle.- Overrides:
toString
in classWorldObject
- Returns:
- The string representation.
-
-