public class Obstacle extends WorldObject
location| Constructor and Description |
|---|
Obstacle()
Create a new Obstacle.
|
Obstacle(Location location)
Create a new Obstacle.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
toString()
Get a string representation of this Obstacle.
|
equals, getLocation, hashCode, setLocationpublic Obstacle()
public Obstacle(Location location)
public java.lang.String toString()
toString in class WorldObject