|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deken.game.map.Section
org.deken.game.map.TileSection
public class TileSection
Title: Tile2DSection
Description: TODO
Copyright: Copyright (c) Jan 21, 2012
Field Summary |
---|
Fields inherited from class org.deken.game.map.Section |
---|
mapSize |
Constructor Summary | |
---|---|
TileSection(int width,
int height)
|
|
TileSection(MapSize mapSize)
|
Method Summary | |
---|---|
Decor |
addTile(Decor decor,
GameLocation gameLocation)
Adds the Decor (tile) at the specified location, or does not set the tile if the specified location is outside the map. |
SectionElement |
getNextTile()
|
boolean |
hasNextTile()
|
void |
reset()
|
Methods inherited from class org.deken.game.map.Section |
---|
getMapSize, getName, setMapSize, setName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public TileSection(int width, int height)
public TileSection(MapSize mapSize)
Method Detail |
---|
public Decor addTile(Decor decor, GameLocation gameLocation)
addTile
in class Section
decor
- DecorgameLocation
- GameLocation
public SectionElement getNextTile()
getNextTile
in class Section
public boolean hasNextTile()
hasNextTile
in class Section
public void reset()
reset
in class Section
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |