Package | Description |
---|---|
net.sf.gridarta.gui.map.mapview | |
net.sf.gridarta.gui.map.renderer | |
net.sf.gridarta.gui.misc | |
net.sf.gridarta.model.mapcursor | |
net.sf.gridarta.model.mapgrid | |
net.sf.gridarta.var.atrinik.gui.map.renderer |
Renders maps.
|
net.sf.gridarta.var.crossfire.gui.map.renderer |
Renders maps.
|
net.sf.gridarta.var.daimonin.gui.map.renderer |
Renders maps.
|
Modifier and Type | Field and Description |
---|---|
private MapGrid |
ErroneousMapSquares.mapGrid
The
MapGrid to mark. |
private MapGrid |
AbstractMapView.mapGrid
The
MapGrid of this map view. |
Modifier and Type | Method and Description |
---|---|
MapGrid |
MapView.getMapGrid()
Returns the
MapGrid of this view. |
MapGrid |
AbstractMapView.getMapGrid()
Returns the
MapGrid of this view. |
Constructor and Description |
---|
AbstractMapView(MapModel<G,A,R> mapModel,
MapGrid mapGrid,
MapCursor<G,A,R> mapCursor)
Creates a new instance.
|
DefaultMapView(MapControl<G,A,R> mapControl,
int number,
PathManager pathManager,
MapGrid mapGrid,
MapCursor<G,A,R> mapCursor,
AbstractMapRenderer<G,A,R> renderer,
Point viewPosition,
int xScrollDistance,
int yScrollDistance)
Create a new instance.
|
ErroneousMapSquares(MapModel<G,A,R> mapModel,
MapGrid mapGrid,
AbstractMapRenderer<G,A,R> renderer)
Creates a new instance.
|
TestMapView(MapControl<TestGameObject,TestMapArchObject,TestArchetype> mapControl,
MapGrid mapGrid,
MapCursor<TestGameObject,TestMapArchObject,TestArchetype> mapCursor)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private MapGrid |
AbstractIsoMapRenderer.mapGrid
The
MapGrid to render. |
Modifier and Type | Method and Description |
---|---|
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. |
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.
|
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.
|
Modifier and Type | Field and Description |
---|---|
private MapGrid |
ShiftProcessor.mapGrid
The map grid to operate on.
|
Modifier and Type | Field and Description |
---|---|
private MapGrid |
MapCursor.mapGrid
Grid where cursor is bound to.
|
Modifier and Type | Method and Description |
---|---|
private static void |
MapCursorTest.assertPreSelection(MapGrid grid,
Point start,
Point end)
Checks that a
MapGrid includes a rectangle of GRID_FLAG_SELECTING . |
private static void |
MapCursorTest.assertSelection(MapGrid grid,
Point start,
Point end,
boolean flag)
Checks that a
MapGrid includes a rectangle of GRID_FLAG_SELECTION . |
private static MapCursor<TestGameObject,TestMapArchObject,TestArchetype> |
MapCursorTest.createCursor(MapGrid grid)
Creates a new
MapCursor instance. |
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. |
Constructor and Description |
---|
MapCursor(MapGrid mapGrid,
MapModel<G,A,R> mapModel)
Construct a MapCursor.
|
Modifier and Type | Method and Description |
---|---|
MapGrid |
MapGridEvent.getSource() |
Modifier and Type | Method and Description |
---|---|
private static void |
MapGridTest.checkSelectionBorder(MapGrid mapGrid,
String expectedBorder)
Checks that the map border selection flags of a
MapGrid instance
is as expected. |
Constructor and Description |
---|
MapGridEvent(MapGrid source)
Creates a new instance.
|
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. |
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 MapGrid |
AbstractFlatMapRenderer.mapGrid
The
MapGrid 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. |
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. |
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.