Interface Locatable

All Known Implementing Classes:
Fish

public interface Locatable

Marine Biology Simulation: Locatable is an interface that guarantees that an object knows its location and returns it when the location method is called.

See Also:
Location

Method Summary
 Location location()
          Returns the location of this object.
 

Method Detail

location

public Location location()
Returns the location of this object.
Returns:
the location of this object in the environment