|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object erland.game.tileadventure.MapEditor erland.game.tileadventure.TileMapEditor erland.game.tileadventure.RoomMapEditor
public class RoomMapEditor
Field Summary | |
---|---|
protected DrawMap |
drawMap
The draw map implementation to use |
protected LevelManager |
levelManager
The level manager to use |
protected Image |
paletteBitmap
The palette bitmap |
protected LevelManager |
paletteLevelManager
The level manager to use for palette bitmap |
Fields inherited from class erland.game.tileadventure.TileMapEditor |
---|
cont, contPalette, extendedLevelInfo, heightLevelSpinner, levelNo, levelNoSpinner, mapBlocks, paletteBlocks |
Fields inherited from class erland.game.tileadventure.MapEditor |
---|
BUTTON_EXIT, BUTTON_LOAD, BUTTON_SAVE |
Constructor Summary | |
---|---|
RoomMapEditor()
|
Method Summary | |
---|---|
void |
drawMapBlocks(Graphics g,
MapObjectContainerInterface blocks)
|
protected String |
getLevelFileGroupLabel()
Get the name that is used for the currently edited object type when it is stored to file, for example "level" |
protected String |
getLevelFileLabel()
Get the name that is used for a list of the currently edited object type when it is stored to file, for example "levels" |
protected LevelManager |
getLevelManager()
Gets the level manager or create a new one if it does not already exist |
protected Image |
getMapBlockImage()
Get an image which is based on subimages of all blocks in the block select area |
protected int |
getSelectSizeX()
Get the horizontal number of blocks in the select block area |
protected int |
getSelectSizeY()
Get the vertical number of blocks in the select block area |
protected int |
getSizeX()
Get the horizontal number of blocks in main editor area |
protected int |
getSizeY()
Get the vertical number of blocks in the main editor area |
protected int |
getSizeZ()
Get the height number of blocks in the main editor area |
protected void |
initFinish()
Called once when the initialization of the map editor is finished |
Methods inherited from class erland.game.tileadventure.TileMapEditor |
---|
cloneBlock, drawHoveringFrame, drawSelectedFrame, getExtendedLevelInfo, getFirstPaletteBlock, getHeightLabelText, getLevelLabelText, getLevelNo, getMapBlocks, getMapContainer, getMapPosZ, getMaxHeight, getMaxLevel, getNoOfPaletteBlocks, getPaletteBlock, getPaletteBlocks, getPaletteContainer, init, initButtons, initHeightChangeButtons, initLevelChangeButtons, isEmptyAllowed, loadButton, prepareAfterLoad, prepareForSave, saveButton, setExtendedLevelInfo, updateBlocks |
Methods inherited from class erland.game.tileadventure.MapEditor |
---|
clickedMapBlock, clickedSelectBlock, draw, drawBlock, drawFinish, drawPaletteBlocks, exit, exitButton, exitFinish, getDefaultButtons, getEnvironment, getPalettePosZ, hoverMapBlock, initButtonPanel, initDefaultButtons, isExit, leftMouseDragged, leftMousePressed, mouseHovering, prepareNewBlock, setCheatmode, setMapBlock, update |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected DrawMap drawMap
protected LevelManager levelManager
protected LevelManager paletteLevelManager
protected Image paletteBitmap
Constructor Detail |
---|
public RoomMapEditor()
Method Detail |
---|
protected String getLevelFileLabel()
TileMapEditor
getLevelFileLabel
in class TileMapEditor
protected String getLevelFileGroupLabel()
TileMapEditor
getLevelFileGroupLabel
in class TileMapEditor
protected int getSizeX()
TileMapEditor
getSizeX
in class TileMapEditor
protected int getSizeY()
TileMapEditor
getSizeY
in class TileMapEditor
protected int getSizeZ()
TileMapEditor
getSizeZ
in class TileMapEditor
protected int getSelectSizeX()
TileMapEditor
getSelectSizeX
in class TileMapEditor
protected int getSelectSizeY()
TileMapEditor
getSelectSizeY
in class TileMapEditor
protected Image getMapBlockImage()
TileMapEditor
getMapBlockImage
in class TileMapEditor
public void drawMapBlocks(Graphics g, MapObjectContainerInterface blocks)
drawMapBlocks
in class MapEditor
protected LevelManager getLevelManager()
TileMapEditor
getLevelManager
in class TileMapEditor
protected void initFinish()
MapEditor
initFinish
in class MapEditor
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |