net.sf.mud4j.world
Class Direction

java.lang.Object
  extended by net.sf.mud4j.world.Direction

public class Direction
extends java.lang.Object

Direction to define different directions for dynamic direction management to add west, east, north, south, etc...

Author:
Matthew Purland

Constructor Summary
Direction(java.lang.String directionName)
          Creates a direction with a name such as "north" or "south".
 
Method Summary
 java.lang.String getDirectionName()
          Get name of direction.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Direction

public Direction(java.lang.String directionName)
Creates a direction with a name such as "north" or "south".

Parameters:
directionName - Name of the direction.
Method Detail

getDirectionName

public java.lang.String getDirectionName()
Get name of direction.



Copyright © 2006-2007 mud4j. All Rights Reserved.