org.deken.game.map
Class Section
java.lang.Object
org.deken.game.map.Section
- Direct Known Subclasses:
- TileSection
public abstract class Section
- extends java.lang.Object
Title: Section
Description: TODO
Copyright: Copyright (c) Jan 21, 2012
- Version:
- 1.0
- Author:
- Gary Deken
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapSize
protected MapSize mapSize
Section
public Section()
addTile
public abstract Decor addTile(Decor decor,
GameLocation gameLocation)
- Add a Tile to the specified location. This method should be synchronized.
- Parameters:
decor
- DecorgameLocation
- GameLocation
- Returns:
- Decor Returns the copied Decor
hasNextTile
public abstract boolean hasNextTile()
getNextTile
public abstract SectionElement getNextTile()
getMapSize
public MapSize getMapSize()
- Returns:
- MapSize
getName
public java.lang.String getName()
- Returns:
- String
reset
public abstract void reset()
setMapSize
public void setMapSize(MapSize mapSize)
- Parameters:
mapSize
- MapSize
setName
public void setName(java.lang.String name)
- Parameters:
name
- String