Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
AbstractMoveSquareAction.mapModel
The currently active
MapModel . |
Modifier and Type | Method and Description |
---|---|
private void |
AbstractMoveSquareAction.setMapModel(MapModel<G,A,R> mapModel)
Called whether the current map has changed.
|
Modifier and Type | Method and Description |
---|---|
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
UndoActions.applyChange(UndoModel<G,A,R> undoModel,
MapModel<G,A,R> mapModel,
UndoState<G,A,R> undoState)
Applies a change (for an undo or a redo operation).
|
boolean |
AttachTiledMaps.attachTiledMaps(MapModel<G,A,R> mapModel,
String[] tilePaths,
File mapsDirectory,
boolean performAction)
Updates tile paths of a map.
|
private static void |
ExitConnectorActionsTest.checkExit(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point,
int index,
String exitPath,
Point exitPoint)
Checks that a map model contains an exit game object.
|
private static void |
UndoActionsTest.checkFace(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
int x,
int y,
String face)
Checks the face name of the first object in a map square.
|
private boolean |
ExitConnectorActions.doExitConnect(boolean performAction,
BaseObject<?,?,?,?> targetExit,
BaseObject<G,A,R,?> targetArchetype,
MapModel<G,A,R> targetMapModel,
Point targetLocation,
File targetMapFile,
MapModel<G,A,R> sourceMapModel,
ExitLocation sourceExitLocation)
Executes part of the "exit connect" action.
|
private boolean |
ExitConnectorActions.doExitConnect(boolean performAction,
BaseObject<?,?,?,?> targetExit,
BaseObject<G,A,R,?> targetArchetype,
MapModel<G,A,R> targetMapModel,
Point targetLocation,
File targetMapFile,
MapModel<G,A,R> sourceMapModel,
ExitLocation sourceExitLocation)
Executes part of the "exit connect" action.
|
private void |
AttachTiledMaps.loadAdjacentMaps(MapModel<G,A,R> mapModel,
Collection<MapControl<G,A,R>> mapControls,
String[] tilePaths)
Loads adjacent map files by "filling" them by checking the "side" path
links of the loaded ones.
|
private MapControl<G,A,R> |
AttachTiledMaps.loadMapControl(MapModel<G,A,R> mapModel,
String path)
Loads an adjacent
MapControl , ignoring any (I/O-)errors. |
private void |
ExitConnectorActions.pasteExit(BaseObject<?,?,?,?> gameObject,
MapModel<G,A,R> mapModel,
ExitLocation exitLocation,
File gameObjectMapFile)
Pastes exit information into an exit game object.
|
private boolean |
ExitConnectorActions.pasteExit(Point location,
MapModel<G,A,R> mapModel,
BaseObject<G,A,R,?> archetype,
ExitLocation exitLocation,
File mapFile)
Creates a new exit game object.
|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
UndoActions.redo(UndoModel<G,A,R> undoModel,
MapModel<G,A,R> mapModel)
Perform a "redo" action on a
MapModel . |
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
UndoActions.undo(UndoModel<G,A,R> undoModel,
MapModel<G,A,R> mapModel)
Perform an "undo" action on a
MapModel . |
private void |
AttachTiledMaps.updateTilePaths(MapModel<G,A,R> mapModel,
List<MapControl<G,A,R>> mapControls,
String[] tilePaths,
File mapsDirectory)
Updates map tile paths to match the loaded maps.
|
private void |
AttachTiledMaps.validateMapSizes(MapModel<G,A,R> mapModel,
Iterable<MapControl<G,A,R>> mapControls)
Validates all links to check that attached maps have matching
width/height.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
CopyBuffer.mapModel
Internal map model to store the cut / copied game objects.
|
Modifier and Type | Method and Description |
---|---|
abstract <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
CopyMode.prepare(MapModel<G,A,R> mapModel,
Size2D mapSize)
Prepares the operation.
|
abstract <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
CopyMode.process(MapModel<G,A,R> mapModel,
G gameObject,
boolean isEditType,
Collection<G> gameObjectsToDelete,
Point pos,
GameObjectFactory<G,A,R> gameObjectFactory,
InsertionModeSet<G,A,R> insertionModeSet)
Processes a
GameObject . |
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
DelayedMapModelListenerManager.MapModelListenerImpl.mapModel
The tracked
MapModel instance. |
private MapModel<G,A,R> |
DelayedMapModelListenerManager.MapArchObjectListenerImpl.mapModel
The tracked
MapModel instance. |
Modifier and Type | Field and Description |
---|---|
private Map<MapModel<G,A,R>,DelayedMapModelListenerManager.MapArchObjectListenerImpl> |
DelayedMapModelListenerManager.mapArchObjectListeners
All known
MapModel instances. |
private Map<MapModel<G,A,R>,DelayedMapModelListenerManager.MapModelListenerImpl> |
DelayedMapModelListenerManager.mapModelListeners
All known
MapModel instances. |
private Map<MapModel<G,A,R>,Void> |
DelayedMapModelListenerManager.scheduledMapModels
The
MapModels having pending changes. |
Modifier and Type | Method and Description |
---|---|
void |
DelayedMapModelListener.mapModelChanged(MapModel<G,A,R> mapModel)
Called whenever a
MapModel has been changed. |
void |
DelayedMapModelListenerManager.scheduleMapModel(MapModel<G,A,R> mapModel)
Schedules a
MapModel which has been changed. |
Constructor and Description |
---|
DelayedMapModelListenerManager.MapArchObjectListenerImpl(MapModel<G,A,R> mapModel)
Creates a new instance.
|
DelayedMapModelListenerManager.MapModelListenerImpl(MapModel<G,A,R> mapModel)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
GameObjectAttributesDialog.mapModel
GameObjectAttributesDialog.gameObject 's initial map. |
Modifier and Type | Method and Description |
---|---|
void |
MapPropertiesDialogFactory.showDialog(Component parent,
Frame helpParent,
MapModel<G,A,R> mapModel,
FileFilter mapFileFilter)
Show a dialog querying the user for map properties.
|
Modifier and Type | Method and Description |
---|---|
static int |
ShrinkMapSizeUtils.getShrinkFlags(MapModel<?,?,?> mapModel)
Returns which borders contain empty squares.
|
static void |
ShrinkMapSizeUtils.shrinkMap(MapModel<?,?,?> mapModel,
int shrinkFlags)
Removes empty squares from a map's border.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
ExitIterator.mapModel
The
MapModel begin searched. |
Constructor and Description |
---|
ExitIterator(ExitMatcher<G,A,R> exitMatcher,
MapModel<G,A,R> mapModel,
int xStart,
int yStart,
int direction)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
AbstractMapTilePane.mapModel
The map in context.
|
Constructor and Description |
---|
AbstractMapTilePane(MapManager<G,A,R> mapManager,
ProjectSettings projectSettings,
MapModel<G,A,R> mapModel,
MapLink[][] tileLink,
Direction[] directionMapping,
int[] nextFocus,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Create an AbstractMapTilePane.
|
FlatMapTilePane(MapManager<G,A,R> mapManager,
ProjectSettings projectSettings,
MapModel<G,A,R> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Create a MapTilePane.
|
IsoMapTilePane(MapManager<G,A,R> mapManager,
ProjectSettings projectSettings,
MapModel<G,A,R> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Create a MapTilePane.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
ErroneousMapSquares.mapModel
The
MapModel to track. |
private MapModel<G,A,R> |
AbstractMapView.mapModel
The
MapModel of this map view. |
Constructor and Description |
---|
AbstractMapView(MapModel<G,A,R> mapModel,
MapGrid mapGrid,
MapCursor<G,A,R> mapCursor)
Creates a new instance.
|
ErroneousMapSquares(MapModel<G,A,R> mapModel,
MapGrid mapGrid,
AbstractMapRenderer<G,A,R> renderer)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
AbstractMapRenderer.mapModel
The rendered
MapModel . |
private MapModel<G,A,R> |
AbstractIsoMapRenderer.mapModel
The
MapModel to render. |
private MapModel<G,A,R> |
AbstractSimpleIsoMapRenderer.mapModel
The
MapModel to render. |
Modifier and Type | Method and Description |
---|---|
void |
ImageCreator2.createImage(MapModel<G,A,R> mapModel,
Component component)
Create an image of a map and save it as a file.
|
void |
ImageCreator.createImage(MapModel<G,A,R> mapModel,
File file) |
AbstractMapRenderer<G,A,R> |
RendererFactory.newMapRenderer(MapModel<G,A,R> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
AbstractMapRenderer<TestGameObject,TestMapArchObject,TestArchetype> |
TestRendererFactory.newMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
AbstractMapRenderer<G,A,R> |
RendererFactory.newPickmapRenderer(MapModel<G,A,R> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
AbstractMapRenderer<TestGameObject,TestMapArchObject,TestArchetype> |
TestRendererFactory.newPickmapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
MapRenderer |
RendererFactory.newSimpleMapRenderer(MapModel<G,A,R> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
MapRenderer |
TestRendererFactory.newSimpleMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
Constructor and Description |
---|
AbstractIsoMapRenderer(int spawnPointTypeNo,
MapViewSettings mapViewSettings,
MapModel<G,A,R> mapModel,
MapGrid mapGrid,
int borderOffsetX,
int borderOffsetY,
MultiPositionData multiPositionData,
IsoMapSquareInfo isoMapSquareInfo,
GridMapSquarePainter gridMapSquarePainter,
GameObjectParser<G,A,R> gameObjectParser,
Icon unknownSquareIcon)
Creates a new instance.
|
AbstractMapRenderer(MapModel<G,A,R> mapModel,
GameObjectParser<G,A,R> gameObjectParser)
Creates a new instance.
|
AbstractSimpleIsoMapRenderer(MapModel<G,A,R> mapModel,
IsoMapSquareInfo isoMapSquareInfo)
Creates a new instance.
|
IsoMapRenderer(int spawnPointTypeNo,
MapViewSettings mapViewSettings,
FilterControl<G,A,R> filterControl,
MapModel<G,A,R> mapModel,
MapGrid mapGrid,
MultiPositionData multiPositionData,
IsoMapSquareInfo isoMapSquareInfo,
GridMapSquarePainter gridMapSquarePainter,
GameObjectParser<G,A,R> gameObjectParser,
ResourceIcons resourceIcons)
Creates a new instance.
|
IsoPickmapRenderer(int spawnPointTypeNo,
MapViewSettings mapViewSettings,
MapModel<G,A,R> mapModel,
MapGrid mapGrid,
MultiPositionData multiPositionData,
IsoMapSquareInfo isoMapSquareInfo,
GridMapSquarePainter gridMapSquarePainter,
GameObjectParser<G,A,R> gameObjectParser,
Icon unknownSquareIcon)
Creates a new instance.
|
SimpleIsoMapRenderer(int spawnPointTypeNo,
MapModel<G,A,R> mapModel,
MultiPositionData multiPositionData,
IsoMapSquareInfo isoMapSquareInfo,
ImageIcon unknownSquareIcon)
Creates a new instance.
|
TestMapRenderer(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
ShiftProcessor.mapModel
The map model to operate on.
|
Constructor and Description |
---|
ShiftProcessor(MapViewSettings mapViewSettings,
MapView<G,A,R> mapView,
MapModel<G,A,R> mapModel,
InsertionModeSet<G,A,R> insertionModeSet)
Create a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
ErrorListView.currentMapModel
Last known active map.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
PickmapChooserModel.PickmapChooserMapModelListener.mapModel
The tracked
MapModel . |
Constructor and Description |
---|
PickmapChooserModel.PickmapChooserMapModelListener(MapModel<G,A,R> mapModel)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
SelectedSquareView.mapModel
The currently active
MapModel . |
Modifier and Type | Method and Description |
---|---|
private void |
SelectedSquareView.setMapCursor(MapModel<G,A,R> mapModel,
MapCursor<G,A,R> mapCursor) |
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
UndoControl.mapModel
Map model for the current map.
|
Modifier and Type | Field and Description |
---|---|
private Map<MapModel<G,A,R>,UndoModel<G,A,R>> |
UndoControl.undoModels
|
Modifier and Type | Method and Description |
---|---|
G |
ExitMatcher.getExit(MapModel<G,A,R> mapModel,
Point point)
Returns an exit game object on a given map square.
|
G |
ExitMatcher.getValidExit(MapModel<G,A,R> mapModel,
Point point)
Returns an exit game object on a given map square having exit
information.
|
Modifier and Type | Method and Description |
---|---|
private static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FillUtils.containsArchetype(MapModel<G,A,R> mapModel,
Collection<String> archetypeNames,
MapSquare<G,A,R> topLeftMapSquare,
int w,
int h)
Checks whether an area and its adjacent squares of a map does contain an
archetype.
|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FillUtils.fill(MapModel<G,A,R> mapModel,
Collection<MapSquare<G,A,R>> selection,
InsertionMode<G,A,R> insertionMode,
List<? extends BaseObject<G,A,R,?>> gameObjects,
int density,
boolean noAdjacent)
Fills a set of squares in a map.
|
void |
FloodFill.floodFill(MapModel<G,A,R> mapModel,
Point start,
List<? extends BaseObject<G,A,R,?>> archList,
InsertionModeSet<G,A,R> insertionModeSet)
Flood-fill the map.
|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
FillUtils.floodFill(MapModel<G,A,R> mapModel,
Point start,
List<? extends BaseObject<G,A,R,?>> gameObjects,
InsertionModeSet<G,A,R> insertionModeSet)
Flood-fill the the map, starting at the cursor position.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapWriter.encodeMapFile(MapModel<G,A,R> mapModel,
Writer writer)
Write the whole map-data into a file.
|
void |
MapWriter.encodeMapFile(MapModel<G,A,R> mapModel,
Writer writer)
Write the whole map-data into a file.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
DefaultMapControl.mapModel
The
MapModel . |
Modifier and Type | Method and Description |
---|---|
MapModel<G,A,R> |
MapControl.getMapModel()
Returns the map model.
|
MapModel<G,A,R> |
DefaultMapControl.getMapModel()
Returns the map model.
|
Constructor and Description |
---|
DefaultMapControl(MapModel<G,A,R> mapModel,
boolean isPickmap,
MapWriter<G,A,R> mapWriter,
ProjectSettings projectSettings)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
MapCursor.mapModel
The
MapModel of this cursor. |
Constructor and Description |
---|
MapCursor(MapGrid mapGrid,
MapModel<G,A,R> mapModel)
Construct a MapCursor.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultMapModel<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Implementation of
MapModel that covers the similarities between
crossfire and daimonin. |
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
MapSquare.mapModel
The MaoModel this square is associated with.
|
private MapModel<G,A,R> |
MapSquareIterator.mapModel
The
MapModel to iterate over. |
private MapModel<G,A,R> |
LightMapModelTracker.mapModel
The tracked
MapModel . |
private MapModel<G,A,R> |
MapSquareGrid.mapModel
The associated
MapModel . |
Modifier and Type | Method and Description |
---|---|
private static MapModel<TestGameObject,TestMapArchObject,TestArchetype> |
TopLevelGameObjectIteratorTest.createMap()
Creates a new
MapModel instance filled with game objects. |
MapModel<G,A,R> |
MapSquare.getMapModel()
Returns the
MapModel this map square is part of. |
MapModel<G,A,R> |
MapModelFactory.newMapModel(A mapArchObject)
Creates a new
MapModel instance. |
MapModel<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapModelCreator.newMapModel(int w,
int h)
Creates a new
MapModel instance. |
private MapModel<TestGameObject,TestMapArchObject,TestArchetype> |
DefaultMapModelTest.newMapModel(TestMapModelCreator mapModelCreator)
Creates a new
MapModel instance. |
Modifier and Type | Method and Description |
---|---|
void |
TestMapModelCreator.addGameObjectToMap(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
String archetypeName,
String name,
int x,
int y,
InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> insertionMode)
Inserts a game object into a map.
|
void |
SavedSquares.applyChanges(MapModel<G,A,R> mapModel)
Applies the saved squares to the given map model.
|
static void |
TestMapModelHelper.checkMapContents(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
String... lines)
Checks for expected
MapModel 's contents. |
TestGameObject |
TestMapModelHelper.insertArchetype(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
int x,
int y,
BaseObject<TestGameObject,TestMapArchObject,TestArchetype,?> archetype,
boolean join)
Inserts an archetype game object into a map model.
|
TestGameObject |
TestMapModelHelper.insertArchetype(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point,
BaseObject<TestGameObject,TestMapArchObject,TestArchetype,?> archetype,
boolean join)
Inserts an archetype game object into a map model.
|
TestGameObject |
TestMapModelHelper.insertExit(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point)
Inserts an
TestMapModelHelper.exitArchetype game object into a map model. |
TestGameObject |
TestMapModelHelper.insertFloor(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point)
Inserts a
TestMapModelHelper.floorArchetype game object into a map model. |
TestGameObject |
TestMapModelHelper.insertMob21(MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
Point point)
Inserts a
TestMapModelHelper.mob21Archetype game object into a map model. |
Constructor and Description |
---|
LightMapModelTracker(MapModel<G,A,R> mapModel)
Creates a new instance.
|
MapSquare(MapModel<G,A,R> mapModel,
int mapX,
int mapY)
Creates a new instance.
|
MapSquareGrid(MapModel<G,A,R> mapModel,
Size2D mapSize)
Creates a new instance.
|
MapSquareIterator(MapModel<G,A,R> mapModel,
Point start,
int direction,
boolean skipFirst)
Creates a new instance.
|
TopLevelGameObjectIterator(MapModel<G,A,R> mapModel,
Point start,
int direction,
boolean skipFirst)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
File |
MapPathNormalizer.normalizeMapPath(MapModel<?,?,?> mapModel,
String path)
Normalizes a map path relative to a
MapModel . |
Modifier and Type | Method and Description |
---|---|
void |
DelegatingMapValidator.validateAll(MapModel<G,A,R> mapModel)
Perform all validations on a map.
|
void |
MapValidator.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
DelegatingMapValidator.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
Modifier and Type | Method and Description |
---|---|
void |
ConnectionChecker.Rec.addErrors(int connection,
MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Creates validation errors for this connection set.
|
static <G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> |
BlockedSquareChecker.findCompletelyBlockedSquares(MapModel<G,A,R> mapModel)
Returns the completely blocked squares of a map.
|
protected boolean[][] |
AbstractShopSquareChecker.findMatchingSquares(MapModel<G,A,R> mapModel,
GameObjectMatcher matcher)
Returns a
boolean array of the map size that marks squares
that contain game objects matching a given GameObjectMatcher . |
private String[] |
MapCheckerScriptChecker.getCommand(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Returns the command to execute.
|
private void |
MapCheckerScriptChecker.parseOutput(CharSequence output,
ErrorCollector<G,A,R> errorCollector,
MapModel<G,A,R> mapModel,
String command)
Parses output of the executed script.
|
private String |
MapCheckerScriptChecker.runProcess(Process process,
ErrorCollector<G,A,R> errorCollector,
MapModel<G,A,R> mapModel,
String command)
Waits for a
Process to terminate and returns its output. |
void |
TilePathsChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
MapDifficultyChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
BlockedSpawnPointChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
ShopSquareChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
PaidItemShopSquareChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
MapCheckerScriptChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
ConnectionChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
void |
BlockedSquareChecker.validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
private boolean |
MapCheckerScriptChecker.waitForTermination(Process process,
ErrorCollector<G,A,R> errorCollector,
MapModel<G,A,R> mapModel,
String command,
CopyReader stdout,
CopyReader stderr)
Waits for a
Process to terminate. |
Constructor and Description |
---|
BlockedMatrix(MapModel<G,A,R> mapModel)
Creates a new instance.
|
MapCheckerScriptFailureError(MapModel<G,A,R> mapModel,
String command,
String reason)
Create a MapValidationError.
|
MapCheckerScriptIOError(MapModel<G,A,R> mapModel,
String file,
String message)
Creates a new instance.
|
MapCheckerScriptMapError(MapModel<G,A,R> mapModel,
String message)
Creates a new instance.
|
MapCheckerScriptMissingError(MapModel<G,A,R> mapModel,
String command,
String reason)
Create a MapValidationError.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<G,A,R> |
ValidationError.mapModel
The
MapModel that caused the error. |
Modifier and Type | Method and Description |
---|---|
MapModel<G,A,R> |
ValidationError.getMapModel()
Return the map on which the error occurred.
|
Constructor and Description |
---|
ConnectionError(MapModel<G,A,R> mapModel,
int connected,
Iterable<G> gameObjects)
Create a new instance.
|
ConnectionWithoutSinksError(MapModel<G,A,R> mapModel,
int connected,
Iterable<G> gameObjects)
Create a new instance.
|
ConnectionWithoutSourcesError(MapModel<G,A,R> mapModel,
int connected,
Iterable<G> gameObjects)
Create a new instance.
|
MapDifficultyError(MapModel<G,A,R> mapModel,
int difficulty)
Creates a new instance.
|
MapValidationError(MapModel<G,A,R> mapModel)
Create a MapValidationError.
|
TilePathsError(MapModel<G,A,R> mapModel,
Direction direction,
String tilePath)
Create a MapValidationError.
|
ValidationError(MapModel<G,A,R> mapModel)
Creates a new instance.
|
ValidationError(String key,
MapModel<G,A,R> mapModel)
Creates a new instance.
|
Constructor and Description |
---|
TestMapRenderer(MapViewSettings mapViewSettings,
FilterControl<TestGameObject,TestMapArchObject,TestArchetype> filterControl,
MapModel<TestGameObject,TestMapArchObject,TestArchetype> mapModel,
MapGrid mapGrid,
MultiPositionData multiPositionData,
IsoMapSquareInfo isoMapSquareInfo,
GridMapSquarePainter gridMapSquarePainter,
GameObjectParser<TestGameObject,TestMapArchObject,TestArchetype> gameObjectParser,
ResourceIcons resourceIcons)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<GameObject,MapArchObject,Archetype> |
MapPropertiesDialog.mapModel
The
MapModel this dialog shows. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapPropertiesDialogFactory.showDialog(Component parent,
Frame helpParent,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter)
Show a dialog querying the user for map properties.
|
Constructor and Description |
---|
MapPropertiesDialog(Frame helpParent,
MapManager<GameObject,MapArchObject,Archetype> mapManager,
ProjectSettings projectSettings,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<GameObject,MapArchObject,Archetype> |
SimpleFlatMapRenderer.mapModel
The map model to render.
|
private MapModel<GameObject,MapArchObject,Archetype> |
AbstractFlatMapRenderer.mapModel
The
MapModel to render. |
private MapModel<GameObject,MapArchObject,Archetype> |
SmoothingRenderer.mapModel
The
MapModel to render. |
private MapModel<GameObject,MapArchObject,Archetype> |
FlatMapRenderer.mapModel
The
MapModel to render. |
Modifier and Type | Method and Description |
---|---|
FlatMapRenderer |
DefaultRendererFactory.newMapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
FlatPickmapRenderer |
DefaultRendererFactory.newPickmapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
SimpleFlatMapRenderer |
DefaultRendererFactory.newSimpleMapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<GameObject,MapArchObject,Archetype> |
MapPropertiesDialog.mapModel
The
MapModel this dialog shows. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapPropertiesDialogFactory.showDialog(Component parent,
Frame helpParent,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter)
Show a dialog querying the user for map properties.
|
Constructor and Description |
---|
MapPropertiesDialog(Frame helpParent,
MapManager<GameObject,MapArchObject,Archetype> mapManager,
ProjectSettings projectSettings,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Creates a map-options dialog.
|
Modifier and Type | Method and Description |
---|---|
IsoMapRenderer<GameObject,MapArchObject,Archetype> |
DefaultRendererFactory.newMapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting maps. |
IsoPickmapRenderer<GameObject,MapArchObject,Archetype> |
DefaultRendererFactory.newPickmapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel,
MapGrid mapGrid)
Creates a new
MapRenderer suitable for painting pickmaps. |
SimpleIsoMapRenderer<GameObject,MapArchObject,Archetype> |
DefaultRendererFactory.newSimpleMapRenderer(MapModel<GameObject,MapArchObject,Archetype> mapModel)
Creates a new map renderer instance which paints only squares but no
grid, cursor, selection, or errors.
|
Modifier and Type | Field and Description |
---|---|
private MapModel<GameObject,MapArchObject,Archetype> |
MapPropertiesDialog.mapModel
The
MapModel this dialog shows. |
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapPropertiesDialogFactory.showDialog(Component parent,
Frame helpParent,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter)
Show a dialog querying the user for map properties.
|
Constructor and Description |
---|
MapPropertiesDialog(Frame helpParent,
MapManager<GameObject,MapArchObject,Archetype> mapManager,
ProjectSettings projectSettings,
MapModel<GameObject,MapArchObject,Archetype> mapModel,
FileFilter mapFileFilter,
MapPathNormalizer mapPathNormalizer)
Creates a map-options dialog.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.