Package | Description |
---|---|
net.sf.gridarta.mainactions | |
net.sf.gridarta.model.floodfill | |
net.sf.gridarta.model.mapmodel | |
net.sf.gridarta.project |
Modifier and Type | Method and Description |
---|---|
private void |
MainActions.fill(MapView<G,A,R> mapView,
InsertionMode<G,A,R> insertionMode)
"Fill" was selected from the Edit menu.
|
private void |
MainActions.fillRandom(MapView<G,A,R> mapView,
InsertionMode<G,A,R> insertionMode)
"RandomFill" was selected from the Edit menu.
|
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 | Class and Description |
---|---|
class |
AboveFloorInsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Insert right above the topmost floor square.
|
class |
AutoInsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Automatically guess the insertion position.
|
class |
BelowFloorInsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Insert right below the bottommost floor square.
|
class |
BottommostInsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Insert bottommost.
|
class |
TopmostInsertionMode<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Insert topmost.
|
Modifier and Type | Field and Description |
---|---|
private InsertionMode<G,A,R> |
InsertionModeSet.aboveFloorInsertionMode
The "above floor" insertion mode.
|
private InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> |
AutoInsertionModeTest.autoInsertionMode
The auto-insertion mode.
|
private InsertionMode<G,A,R> |
InsertionModeSet.autoInsertionMode
The "auto" insertion mode.
|
private InsertionMode<G,A,R> |
InsertionModeSet.belowFloorInsertionMode
The "below floor" insertion mode.
|
private InsertionMode<G,A,R> |
InsertionModeSet.bottommostInsertionMode
The "bottommost" insertion mode.
|
private InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> |
AutoInsertionModeTest.topmostInsertionMode
The topmost-insertion mode.
|
private InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapModelCreator.topmostInsertionMode
The "topmost"
InsertionMode instance. |
private InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapModelHelper.topmostInsertionMode
The "topmost"
InsertionMode instance. |
private InsertionMode<G,A,R> |
DefaultMapModel.topmostInsertionMode
The "topmost"
InsertionMode . |
private InsertionMode<G,A,R> |
MapModelFactory.topmostInsertionMode
The "topmost"
InsertionMode . |
private InsertionMode<G,A,R> |
InsertionModeSet.topmostInsertionMode
The "topmost" insertion mode.
|
Modifier and Type | Method and Description |
---|---|
InsertionMode<G,A,R> |
InsertionModeSet.getAboveFloorInsertionMode()
Returns the "above floor" insertion mode.
|
InsertionMode<G,A,R> |
InsertionModeSet.getAutoInsertionMode()
Returns the "auto" insertion mode.
|
InsertionMode<G,A,R> |
InsertionModeSet.getBelowFloorInsertionMode()
Returns the "below floor" insertion mode.
|
InsertionMode<G,A,R> |
InsertionModeSet.getBottommostInsertionMode()
Returns the "bottommost" insertion mode.
|
InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> |
TestMapModelCreator.getTopmostInsertionMode()
Returns the "topmost" insertion mode.
|
InsertionMode<G,A,R> |
InsertionModeSet.getTopmostInsertionMode()
Returns the "topmost" insertion mode.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultMapModel.addGameObjectToMap(G gameObject,
Point pos,
InsertionMode<G,A,R> insertionMode)
Add a gameObject to the map.
|
void |
MapModel.addGameObjectToMap(G gameObject,
Point pos,
InsertionMode<G,A,R> insertionMode)
Add a gameObject to the map.
|
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.
|
G |
DefaultMapModel.insertBaseObject(BaseObject<G,A,R,?> baseObject,
Point pos,
boolean allowMany,
boolean join,
InsertionMode<G,A,R> insertionMode)
Inserts a
BaseObject to a map. |
G |
MapModel.insertBaseObject(BaseObject<G,A,R,?> baseObject,
Point pos,
boolean allowMany,
boolean join,
InsertionMode<G,A,R> insertionMode)
Inserts a
BaseObject to a map. |
Constructor and Description |
---|
DefaultMapModel(AutojoinLists<G,A,R> autojoinLists,
A mapArchObject,
ArchetypeChooserModel<G,A,R> archetypeChooserModel,
GameObjectFactory<G,A,R> gameObjectFactory,
GameObjectMatchers gameObjectMatchers,
InsertionMode<G,A,R> topmostInsertionMode)
Create a new instance.
|
InsertionModeSet(InsertionMode<G,A,R> topmostInsertionMode,
GameObjectMatcher floorGameObjectMatcher,
GameObjectMatcher wallGameObjectMatcher,
GameObjectMatcher belowFloorGameObjectMatcher,
GameObjectMatcher systemObjectGameObjectMatcher)
Creates a new instance.
|
MapModelFactory(ArchetypeChooserModel<G,A,R> archetypeChooserModel,
AutojoinLists<G,A,R> autojoinLists,
GameObjectFactory<G,A,R> gameObjectFactory,
GameObjectMatchers gameObjectMatchers,
InsertionMode<G,A,R> topmostInsertionMode)
Creates a new instance.
|
TestMapModelHelper(InsertionMode<TestGameObject,TestMapArchObject,TestArchetype> topmostInsertionMode,
GameObjectFactory<TestGameObject,TestMapArchObject,TestArchetype> gameObjectFactory,
ArchetypeSet<TestGameObject,TestMapArchObject,TestArchetype> archetypeSet,
FaceObjectProviders faceObjectProviders,
AnimationObjects animationObjects)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private InsertionMode<G,A,R> |
ProjectModel.topmostInsertionMode |
Modifier and Type | Method and Description |
---|---|
InsertionMode<G,A,R> |
ProjectModel.getTopmostInsertionMode() |
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.