Modifier and Type | Field and Description |
---|---|
private Direction[] |
EnterMap.directionMap
Maps map relative direction to map window direction.
|
Modifier and Type | Method and Description |
---|---|
private Point |
EnterMap.calculateNewCursorLocation(MapView<G,A,R> oldMapView,
MapView<G,A,R> newMapView,
Direction direction)
Calculate the map cursor location for the new viewport.
|
private Point |
EnterMap.calculateNewViewPosition(JScrollPane oldMapView,
JScrollPane newMapView,
Direction direction)
Calculate the view position for the new viewport.
|
boolean |
MapActions.doEnterMap(boolean performAction,
Direction direction)
Executes the "enter map" action.
|
boolean |
EnterMap.enterMap(MapView<G,A,R> mapView,
File mapFile,
Point destinationPoint,
Direction direction)
Enters a map.
|
boolean |
EnterMap.enterMap(MapView<G,A,R> mapView,
String path,
Direction direction,
Point destinationPoint)
Enters a map wanted.
|
Constructor and Description |
---|
EnterMap(Component parent,
Direction[] directionMap,
MapPathNormalizer mapPathNormalizer,
FileControl<G,A,R> fileControl,
MapViewsManager<G,A,R> mapViewsManager)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private static Direction[] |
FlatMapTilePane.directionMapping
Maps map direction to
DirectionLayout
direction. |
private static Direction[] |
IsoMapTilePane.directionMapping
Maps map direction to
DirectionLayout
direction. |
Modifier and Type | Method and Description |
---|---|
private MapTilePanel[] |
AbstractMapTilePane.buildComponents(Direction[] directionMapping)
Builds the components of this panel.
|
private static Component |
AbstractMapTilePane.buildTilePanels(MapTilePanel[] tilePanels,
Direction[] directionMapping)
Builds the tile panel.
|
private static TileLink |
AbstractMapTilePane.newTileLink(String key,
MapLink[] mapLinks,
Direction revLink)
Creates a new
TileLink . |
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.
|
Modifier and Type | Field and Description |
---|---|
private static Direction[] |
MapCursorActions.directions
All
Directions . |
Modifier and Type | Method and Description |
---|---|
private boolean |
MapCursorActions.doMoveCursor(boolean performAction,
Direction direction)
Executes the "move cursor" action.
|
Modifier and Type | Method and Description |
---|---|
boolean |
ShiftProcessor.canShift(Direction dir)
Check whether shifting is possible.
|
void |
ShiftProcessor.shift(Direction dir)
Shift the map contents by one square.
|
Modifier and Type | Field and Description |
---|---|
private static Direction[] |
DirectionLayout.daimoninToDirectionMap
The array to quickly find the direction enum constants for a daimonin
direction.
|
Modifier and Type | Method and Description |
---|---|
private static Direction |
DirectionLayout.getDirectionFromDaimonin(int daimoninDirection)
Returns the
Direction for a Daimonin direction. |
Modifier and Type | Method and Description |
---|---|
private static void |
DirectionLayout.addDirection(Direction direction)
Adds an entry to
DirectionLayout.daimoninToDirectionMap . |
Modifier and Type | Method and Description |
---|---|
private boolean |
MainActions.doShift(boolean performAction,
Direction direction)
Executes the "shift" action.
|
Modifier and Type | Method and Description |
---|---|
Direction[] |
EditorFactory.getDirectionMap()
Returns a map of relative direction to map window direction.
|
Modifier and Type | Method and Description |
---|---|
static Direction |
Direction.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Direction[] |
Direction.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
String |
AbstractMapArchObject.getTilePath(Direction direction)
Returns a tile path.
|
String |
MapArchObject.getTilePath(Direction direction)
Returns a tile path.
|
void |
AbstractMapArchObject.setTilePath(Direction direction,
String tilePath)
Sets a tile path.
|
void |
MapArchObject.setTilePath(Direction direction,
String tilePath)
Sets a tile path.
|
Modifier and Type | Method and Description |
---|---|
private static void |
MapCursorTest.dragTo(MapCursor<TestGameObject,TestMapArchObject,TestArchetype> cursor,
MapGrid grid,
Direction dir,
Point start,
Point p,
Dimension offset)
Calls
MapCursor.dragTo(Point) and checks for expected results. |
boolean |
MapCursor.goTo(boolean performAction,
Direction dir)
Moves the cursor one square relative to current position.
|
Modifier and Type | Field and Description |
---|---|
private Direction |
MapLink.linkDirection |
private Direction |
MapLink.mapDirection |
private Direction |
TileLink.revLink
Direction for reverse map linking.
|
Modifier and Type | Method and Description |
---|---|
Direction |
MapLink.getLinkDirection() |
Direction |
MapLink.getMapDirection() |
Direction |
TileLink.getRevLink()
Returns the index for reverse map linking.
|
Constructor and Description |
---|
MapLink(Direction mapDirection,
Direction linkDirection) |
TileLink(String name,
MapLink[] mapLinks,
Direction revLink)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private Direction |
TilePathsError.direction
The direction on which the error occurred.
|
Constructor and Description |
---|
TilePathsError(MapModel<G,A,R> mapModel,
Direction direction,
String tilePath)
Create a MapValidationError.
|
Modifier and Type | Method and Description |
---|---|
Direction[] |
DefaultEditorFactory.getDirectionMap()
Returns a map of relative direction to map window direction.
|
Modifier and Type | Method and Description |
---|---|
Direction[] |
DefaultEditorFactory.getDirectionMap()
Returns a map of relative direction to map window direction.
|
Modifier and Type | Method and Description |
---|---|
Direction[] |
DefaultEditorFactory.getDirectionMap()
Returns a map of relative direction to map window direction.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.