|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IDungeonChunk
Specifies required methods for all dungeon chunk classes
Method Summary | |
---|---|
DungeonChunkDoorway |
getDoorway(byte direction)
Gets the doorway matching the specified direction. |
java.util.Vector<DungeonChunkDoorway> |
getDoorwaysOnSide(byte[] side)
Gets all of the doorways on the specified side. |
org.bukkit.Chunk |
getHandle()
Gets the handle for the DungeonChunk's chunk data. |
IDungeonChunk |
getNeighbor(byte direction)
Gets the neighboring chunk matching the specified direction. |
long |
getSeed()
Gets the seed. |
DungeonChunkType |
getType()
Gets the DungeonChunkType for the chunk. |
java.lang.String |
getWorld()
Gets the world name. |
int |
getX()
Gets the x coordinate for the chunk. |
int |
getZ()
Gets the z coordinate for the chunk. |
boolean |
hasDoorway(byte direction)
Checks for a doorway matching the specified direction. |
boolean |
hasNeighbor(byte direction)
Checks for a neighboring chunk matching the specified direction. |
void |
setDoorway(DungeonChunkDoorway doorway)
Sets a doorway. |
void |
setHandle(org.bukkit.Chunk handle)
Sets the handle for the DungeonChunk's chunk data. |
void |
setNeighbor(byte direction,
IDungeonChunk neighbor)
Sets the neighboring chunk for the specified direction. |
void |
setSeed(long seed)
Sets the seed. |
void |
setType(DungeonChunkType type)
Sets the DungeonChunkType for the chunk. |
Method Detail |
---|
java.lang.String getWorld()
int getX()
int getZ()
long getSeed()
void setSeed(long seed)
seed
- the new seedDungeonChunkType getType()
void setType(DungeonChunkType type)
type
- the new typeboolean hasDoorway(byte direction)
d
- the doorway direction to check
DungeonChunkDoorway getDoorway(byte direction)
direction
- the direction of the doorway to get
java.util.Vector<DungeonChunkDoorway> getDoorwaysOnSide(byte[] side)
direction
- the direction of the side to get
void setDoorway(DungeonChunkDoorway doorway)
doorway
- the DungeonChunkDoorway to setboolean hasNeighbor(byte direction)
d
- the neighbor direction to check
IDungeonChunk getNeighbor(byte direction)
direction
- the direction of the chunk to get
void setNeighbor(byte direction, IDungeonChunk neighbor)
direction
- the direction of the neighbor to setneighbor
- the chunk to set as a neighbororg.bukkit.Chunk getHandle()
void setHandle(org.bukkit.Chunk handle)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |