net.sf.mud4j.world
Interface TileLocation

All Superinterfaces:
Effectable, Location
All Known Implementing Classes:
Room

public interface TileLocation
extends Location

Location that represents a single tile that contains directions that link to other locations.

Author:
Matthew Purland

Method Summary
 void addDirection(Direction direction)
          Add a direction to the location.
 java.util.List<Direction> getDirections()
          Get list of directions for the location.
 void removeDirection(Direction direction)
          Remove a direction from the location.
 
Methods inherited from interface net.sf.mud4j.world.Location
move
 
Methods inherited from interface net.sf.mud4j.effect.Effectable
getEffectBehavior, setEffectBehavior
 

Method Detail

addDirection

void addDirection(Direction direction)
Add a direction to the location.

Parameters:
direction - Direction to add to the location.

removeDirection

void removeDirection(Direction direction)
Remove a direction from the location.

Parameters:
direction - to remove from the location.

getDirections

java.util.List<Direction> getDirections()
Get list of directions for the location.

Returns:
Returns the list implementation for the location.


Copyright © 2006-2007 mud4j. All Rights Reserved.