net.sf.mud4j.world.area
Class AbstractArea

java.lang.Object
  extended by net.sf.mud4j.world.area.AbstractArea
All Implemented Interfaces:
Area

public class AbstractArea
extends java.lang.Object
implements Area

Abstract implementation of areas.

Author:
Matthew Purland

Constructor Summary
AbstractArea(java.lang.String areaName)
           
 
Method Summary
 java.lang.String getAreaName()
          Get name of the area.
 java.util.List<Character> getCharacters()
          Retrieve list of players contained in the area.
 java.util.List<Item> getItems()
          Retrieve list of items contained in area.
 java.util.List<Room> getRooms()
          Retrieve list of rooms contained in the area.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractArea

public AbstractArea(java.lang.String areaName)
Method Detail

getAreaName

public java.lang.String getAreaName()
Get name of the area.

Specified by:
getAreaName in interface Area

getCharacters

public java.util.List<Character> getCharacters()
Retrieve list of players contained in the area.

Specified by:
getCharacters in interface Area

getItems

public java.util.List<Item> getItems()
Retrieve list of items contained in area.

Specified by:
getItems in interface Area

getRooms

public java.util.List<Room> getRooms()
Retrieve list of rooms contained in the area.

Specified by:
getRooms in interface Area


Copyright © 2006-2007 mud4j. All Rights Reserved.