Modifier and Type | Method and Description |
---|---|
void |
CopyBuffer.pasteTiled(MapView<G,A,R> mapView,
Iterable<MapSquare<G,A,R>> selectedSquares,
Point origin)
Executing the Paste Tiled command.
|
Modifier and Type | Method and Description |
---|---|
void |
DelayedMapModelListenerManager.MapModelListenerImpl.mapSquaresChanged(Set<MapSquare<G,A,R>> mapSquares) |
Modifier and Type | Method and Description |
---|---|
private void |
FindDialog.selectMapSquares(Iterable<MapSquare<G,A,R>> mapSquares)
Selects a set of
MapSquares on the map. |
Modifier and Type | Field and Description |
---|---|
private Map<MapSquare<G,A,R>,ValidationError<G,A,R>> |
ErroneousMapSquares.erroneousMapSquares
The erroneous
MapSquares . |
Modifier and Type | Method and Description |
---|---|
List<MapSquare<G,A,R>> |
MapView.getSelectedSquares()
Returns the selected squares.
|
List<MapSquare<G,A,R>> |
AbstractMapView.getSelectedSquares()
Returns the selected squares.
|
Modifier and Type | Field and Description |
---|---|
private Map<MapSquare<G,A,R>,ValidationError<G,A,R>> |
AbstractMapRenderer.erroneousMapSquares
The MapSquares that are known to contain errors.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractIsoMapRenderer.paintSquare(Graphics2D g,
int x,
int y,
MapSquare<G,A,R> square)
Paints one square.
|
protected void |
IsoMapRenderer.paintSquare(Graphics2D g,
int x,
int y,
MapSquare<G,A,R> square)
Paints one square.
|
protected void |
IsoPickmapRenderer.paintSquare(Graphics2D g,
int x,
int y,
MapSquare<G,A,R> square)
Paints one square.
|
Modifier and Type | Method and Description |
---|---|
void |
AbstractMapRenderer.setErroneousMapSquares(Map<MapSquare<G,A,R>,ValidationError<G,A,R>> erroneousMapSquares)
Sets the MapSquares that are known to contain errors.
|
Modifier and Type | Method and Description |
---|---|
private void |
View.scanMapForConnections(Iterable<MapSquare<G,A,R>> mapModel)
Scans the given map for the contained connections.
|
Modifier and Type | Method and Description |
---|---|
void |
PickmapChooserModel.PickmapChooserMapModelListener.mapSquaresChanged(Set<MapSquare<G,A,R>> mapSquares) |
Modifier and Type | Field and Description |
---|---|
private MapSquare<G,A,R> |
SelectedSquareModel.selectedMapSquare
The currently selected
MapSquare . |
Modifier and Type | Method and Description |
---|---|
MapSquare<G,A,R> |
SelectedSquareModel.getSelectedMapSquare()
Returns the currently selected map square.
|
Modifier and Type | Method and Description |
---|---|
void |
SelectedSquareModelListener.selectionChanged(MapSquare<G,A,R> mapSquare,
G gameObject)
The selected game object has changed.
|
boolean |
SelectedSquareModel.setSelectedMapSquare(MapSquare<G,A,R> mapSquare,
G gameObject)
Sets the currently selected map square.
|
Modifier and Type | Method and Description |
---|---|
boolean |
SelectedSquareModel.isSelectedMapSquares(Iterable<MapSquare<G,A,R>> mapSquares) |
Modifier and Type | Method and Description |
---|---|
MapSquare<G,A,R> |
AbstractArchetype.getMapSquare()
Returns the
MapSquare of this container. |
Modifier and Type | Method and Description |
---|---|
abstract MapSquare<G,A,R> |
GameObjectContainer.getMapSquare()
Returns the
MapSquare of this container. |
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
MapSquare<G,A,R> |
GameObject.getMapSquare()
Get the MapSquare of this
GameObjectContainer . |
MapSquare<G,A,R> |
AbstractGameObject.getMapSquare()
Returns the
MapSquare of this container. |
Modifier and Type | Field and Description |
---|---|
private MapSquare<G,A,R> |
MapCursor.mapSquare
The selected
MapSquare . |
private MapSquare<G,A,R> |
MapCursor.transactionMapSquare
The value of
MapCursor.mapSquare at the start of the outermost map cursor
transaction. |
Modifier and Type | Method and Description |
---|---|
void |
MapCursorListener.mapCursorChangedGameObject(MapSquare<G,A,R> mapSquare,
G gameObject)
Called whenever the selected game object has changed.
|
void |
MapCursorTest.TestMapCursorListener.mapCursorChangedGameObject(MapSquare<TestGameObject,TestMapArchObject,TestArchetype> mapSquare,
TestGameObject gameObject) |
void |
MapCursor.setMapSquare(MapSquare<G,A,R> mapSquare)
Sets the selected
MapSquare . |
Modifier and Type | Field and Description |
---|---|
private Set<MapSquare<G,A,R>> |
DefaultMapModel.changedSquares
The ArrayList with changed squares.
|
private List<MapSquare<G,A,R>> |
MapSquare.lightSources
The
MapSquares on the map that
contain light emitting game objects that affect this map square. |
private List<List<MapSquare<G,A,R>>> |
MapSquareGrid.mapGrid
The
MapSquare of this grid. |
private Iterator<MapSquare<G,A,R>> |
TopLevelGameObjectIterator.mapSquareIterator
The
Iterator returning all MapSquares to
consider. |
Modifier and Type | Method and Description |
---|---|
protected MapSquare<G,A,R> |
MapSquare.clone() |
MapSquare<G,A,R> |
MapSquare.getMapSquare()
Returns the
MapSquare of this container. |
MapSquare<G,A,R> |
MapSquareGrid.getMapSquare(int x,
int y)
Returns the
MapSquare at a given location. |
MapSquare<G,A,R> |
DefaultMapModel.getMapSquare(Point pos)
Get the square at a specified location.
|
MapSquare<G,A,R> |
MapModel.getMapSquare(Point pos)
Get the square at a specified location.
|
MapSquare<G,A,R> |
MapSquareIterator.next() |
Modifier and Type | Method and Description |
---|---|
Iterator<MapSquare<G,A,R>> |
DefaultMapModel.iterator() |
private List<List<MapSquare<G,A,R>>> |
MapSquareGrid.newMapGrid(Size2D mapSize)
Allocates a new 2-dimensional
MapSquare array of the given size. |
Modifier and Type | Method and Description |
---|---|
void |
MapSquare.addLightSource(MapSquare<G,A,R> mapSquare)
Adds a light emitting game object that affects this map square.
|
void |
DefaultMapModel.beginSquareChange(MapSquare<G,A,R> mapSquare)
Method to notify the model that a map square is about to change.
|
void |
MapModel.beginSquareChange(MapSquare<G,A,R> mapSquare)
Method to notify the model that a map square is about to change.
|
private static void |
TestMapModelHelper.checkContentsString(MapSquare<TestGameObject,TestMapArchObject,TestArchetype> mapSquare,
String... gameObjects)
Checks that a
MapSquare contains the given game objects. |
void |
DefaultMapModel.endSquareChange(MapSquare<G,A,R> mapSquare)
Method to notify the model that a map square was changed.
|
void |
MapModel.endSquareChange(MapSquare<G,A,R> mapSquare)
Method to notify the model that a map square was changed.
|
void |
TopmostInsertionMode.insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
void |
InsertionMode.insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
void |
BelowFloorInsertionMode.insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
void |
AboveFloorInsertionMode.insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
void |
BottommostInsertionMode.insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
void |
AutoInsertionMode.insert(G gameObject,
MapSquare<G,A,R> mapSquare)
Inserts a
GameObject into a MapSquare . |
void |
SavedSquares.recordMapSquare(MapSquare<G,A,R> mapSquare)
Records a map square as changed.
|
void |
MapSquare.removeLightSource(MapSquare<G,A,R> mapSquare)
Removes a light emitting game object that affects this map square.
|
private void |
AutoInsertionMode.replaceFloor(G gameObject,
MapSquare<G,A,R> mapSquare,
G lastFloor)
Replace a floor game object.
|
private void |
LightMapModelTracker.setLightRadius(MapSquare<G,A,R> mapSquare,
int lightRadius)
Updates the light radius of a map square.
|
private void |
LightMapModelTracker.updateLightRadius(MapSquare<G,A,R> mapSquare)
Recalculates information about light emitting game objects in a map
square.
|
Modifier and Type | Method and Description |
---|---|
private void |
DefaultMapModel.discardInvalidMapSquares(Collection<MapSquare<G,A,R>> mapSquares,
Size2D mapSize)
Discards map squares that are out of map bounds.
|
private void |
DefaultMapModel.fireMapSquaresChangedEvent(Set<MapSquare<G,A,R>> mapSquares)
Fire a MapSquaresChangedEvent.
|
private void |
DefaultMapModelTest.log(String name,
Iterable<MapSquare<TestGameObject,TestMapArchObject,TestArchetype>> mapSquares,
Iterable<TestGameObject> gameObjects)
Records a change event.
|
void |
LightMapModelTracker.mapSquaresChanged(Iterable<MapSquare<G,A,R>> mapSquares)
Called whenever some game objects have changed.
|
void |
MapModelListener.mapSquaresChanged(Set<MapSquare<G,A,R>> mapSquares)
Squares of a map have changed.
|
Modifier and Type | Method and Description |
---|---|
void |
SquareValidator.validateSquare(MapSquare<G,A,R> mapSquare,
ErrorCollector<G,A,R> errorCollector)
Validate a map square.
|
void |
DelegatingMapValidator.validateSquare(MapSquare<G,A,R> mapSquare,
ErrorCollector<G,A,R> errorCollector)
Validate a map square.
|
Modifier and Type | Method and Description |
---|---|
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.
|
Modifier and Type | Method and Description |
---|---|
void |
DoubleLayerChecker.validateSquare(MapSquare<G,A,R> mapSquare,
ErrorCollector<G,A,R> errorCollector)
Validate a map square.
|
void |
BlockedMobOrSpawnPointChecker.validateSquare(MapSquare<G,A,R> mapSquare,
ErrorCollector<G,A,R> errorCollector)
Validate a map square.
|
void |
DoubleTypeChecker.validateSquare(MapSquare<G,A,R> mapSquare,
ErrorCollector<G,A,R> errorCollector)
Validate a map square.
|
void |
SquareWithoutFloorChecker.validateSquare(MapSquare<G,A,R> mapSquare,
ErrorCollector<G,A,R> errorCollector)
Validate a map square.
|
Modifier and Type | Method and Description |
---|---|
private void |
BlockedSpawnPointChecker.checkSpawnPoints(Iterable<MapSquare<G,A,R>> mapModel,
BlockedMatrix<G,A,R> blocked,
ErrorCollector<G,A,R> errorCollector)
Checks for blocked spawn points.
|
Constructor and Description |
---|
MapCheckerScriptMapSquareError(MapSquare<G,A,R> mapSquare,
String message)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private Formatter<G,A,R,MapSquare<G,A,R>> |
ValidationError.mapSquareFormatter
The
MapSquareFormatter for formatting MapSquare instances. |
private List<MapSquare<G,A,R>> |
ValidationError.mapSquares
The
MapSquares that caused the error. |
Modifier and Type | Method and Description |
---|---|
List<MapSquare<G,A,R>> |
ValidationError.getMapSquares()
Returns the
MapSquares that caused the error. |
Modifier and Type | Method and Description |
---|---|
protected void |
ValidationError.addMapSquare(MapSquare<G,A,R> mapSquare)
Adds an erroneous
MapSquare . |
int |
MapSquareFormatter.compare(MapSquare<G,A,R> o1,
MapSquare<G,A,R> o2) |
int |
MapSquareFormatter.compare(MapSquare<G,A,R> o1,
MapSquare<G,A,R> o2) |
String |
MapSquareFormatter.toString(MapSquare<G,A,R> obj) |
Constructor and Description |
---|
BlockedMobOrSpawnPointError(MapSquare<G,A,R> mapSquare,
Collection<G> blockers,
Collection<G> mobsOrSpawnPoints)
Create a BlockedMobOrSpawnPointError.
|
BlockedSquareError(MapSquare<G,A,R> mapSquare)
Creates a new instance.
|
DoubleLayerError(MapSquare<G,A,R> mapSquare,
G archObject)
Create an DoubleTypeError.
|
DoubleTypeError(MapSquare<G,A,R> mapSquare,
G gameObject)
Create an DoubleTypeError.
|
GameObjectsValidationError(MapSquare<G,A,R> mapSquare,
G gameObject)
Create an GameObjectValidationError.
|
PaidItemShopSquareError(MapSquare<G,A,R> mapSquare)
Creates a new instance.
|
ShopSquare2Error(MapSquare<G,A,R> mapSquare)
Creates a new instance.
|
ShopSquareError(MapSquare<G,A,R> mapSquare)
Creates a new instance.
|
SquareValidationError(MapSquare<G,A,R> mapSquare)
Create a SquareValidationError.
|
SquareWithoutFloorError(MapSquare<G,A,R> mapSquare)
Create a SquareWithoutFloorError.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
AbstractFlatMapRenderer.paintSquare(Graphics g,
int x,
int y,
MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
protected void |
FlatPickmapRenderer.paintSquare(Graphics g,
int x,
int y,
MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
protected void |
FlatMapRenderer.paintSquare(Graphics g,
int x,
int y,
MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
private void |
AbstractFlatMapRenderer.paintSquare(MapSquare<GameObject,MapArchObject,Archetype> square)
Paints one square.
|
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.