Package | Description |
---|---|
net.sf.gridarta.gui.dialog.goexit | |
net.sf.gridarta.gui.panel.connectionview |
Implements views of links between
GameObjects or groups or GameObject s
on a map. |
net.sf.gridarta.gui.panel.tools |
This package handles tools for manipulating maps.
|
net.sf.gridarta.model.exitconnector | |
net.sf.gridarta.model.filter | |
net.sf.gridarta.model.mapmodel | |
net.sf.gridarta.model.match |
This package contains classes related to matching
GameObjects , so called GameObjectMatchers . |
net.sf.gridarta.model.validation.checks |
This package contains the checks for validating maps.
|
net.sf.gridarta.var.atrinik.maincontrol | |
net.sf.gridarta.var.crossfire.model.validation.checks | |
net.sf.gridarta.var.daimonin.maincontrol |
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
GoExitDialogManager.exitGameObjectMatcher
The
GameObjectMatcher for selecting exits. |
private GameObjectMatcher |
GoExitDialog.exitGameObjectMatcher
The
GameObjectMatcher for selecting exits. |
Constructor and Description |
---|
GoExitDialog(Component parent,
MapView<G,A,R> mapView,
GameObjectMatcher exitGameObjectMatcher,
PathManager pathManager,
EnterMap<G,A,R> enterMap,
FaceObjectProviders faceObjectProviders)
Creates a new instance.
|
GoExitDialogManager(Window parent,
MapManager<G,A,R> mapManager,
MapViewManager<G,A,R> mapViewManager,
GameObjectMatcher exitGameObjectMatcher,
PathManager pathManager,
EnterMap<G,A,R> enterMap,
FaceObjectProviders faceObjectProviders)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
MonsterView.monsterMatcher
The
GameObjectMatcher for matching monster objects. |
Constructor and Description |
---|
MonsterControl(MapViewManager<G,A,R> mapViewManager,
DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager,
GameObjectMatcher monsterMatcher)
Create a new instance.
|
MonsterView(MapViewManager<G,A,R> mapViewManager,
DelayedMapModelListenerManager<G,A,R> delayedMapModelListenerManager,
GameObjectMatcher monsterMatcher)
Create a MonsterView.
|
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
DeletionTool.floorGameObjectMatcher
A
GameObjectMatcher matching floor game objects. |
private GameObjectMatcher |
DeletionTool.monsterGameObjectMatcher
A
GameObjectMatcher matching monster game objects. |
private GameObjectMatcher |
DeletionTool.wallGameObjectMatcher
A
GameObjectMatcher matching wall game objects. |
Constructor and Description |
---|
DeletionTool(MapViewSettings mapViewSettings,
ObjectChooser<G,A,R> objectChooser,
PickmapSettings pickmapSettings,
GameObjectMatcher floorGameObjectMatcher,
GameObjectMatcher wallGameObjectMatcher,
GameObjectMatcher monsterGameObjectMatcher)
Create a DeletionTool.
|
ToolPalette(MapViewSettings mapViewSettings,
SelectedSquareModel<G,A,R> selectedSquareModel,
ObjectChooser<G,A,R> objectChooser,
PickmapSettings pickmapSettings,
GameObjectMatcher floorGameObjectMatcher,
GameObjectMatcher wallGameObjectMatcher,
GameObjectMatcher monsterGameObjectMatcher,
InsertionModeSet<G,A,R> insertionModeSet)
Create a ToolPalette.
|
ToolSelector(String defaultTool,
MapViewSettings mapViewSettings,
SelectedSquareModel<G,A,R> selectedSquareModel,
ObjectChooser<G,A,R> objectChooser,
PickmapSettings pickmapSettings,
GameObjectMatcher floorGameObjectMatcher,
GameObjectMatcher wallGameObjectMatcher,
GameObjectMatcher monsterGameObjectMatcher,
InsertionModeSet<G,A,R> insertionModeSet)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
ExitMatcher<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
Selects valid exit game objects from maps.
|
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
ExitMatcher.exitMatcher
The matcher for selecting exit objects.
|
Constructor and Description |
---|
ExitMatcher(GameObjectMatcher exitMatcher)
Creates a new instance.
|
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
NamedGameObjectMatcherFilter.matcher
The
GameObjectMatcher to use. |
Constructor and Description |
---|
NamedGameObjectMatcherFilter(GameObjectMatcher matcher)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
private static class |
FilterGameObjectIteratorTest.AcceptAllMatcher
A
GameObjectMatcher that accepts all game objects. |
private static class |
FilterGameObjectIteratorTest.AcceptMatcher
A
GameObjectMatcher that accepts a set of game objects. |
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
AutoInsertionModeTest.belowFloorGameObjectMatcher
A
GameObjectMatcher that matches objects to be put below the
floor. |
private GameObjectMatcher |
AutoInsertionMode.belowFloorGameObjectMatcher
A
GameObjectMatcher matching monster game objects. |
private GameObjectMatcher |
AutoInsertionModeTest.floorGameObjectMatcher
A
GameObjectMatcher that matches floor objects. |
private GameObjectMatcher |
BelowFloorInsertionMode.floorGameObjectMatcher
A
GameObjectMatcher matching floor game objects. |
private GameObjectMatcher |
AboveFloorInsertionMode.floorGameObjectMatcher
A
GameObjectMatcher matching floor game objects. |
private GameObjectMatcher |
AutoInsertionMode.floorGameObjectMatcher
A
GameObjectMatcher matching floor game objects. |
private GameObjectMatcher |
FilterGameObjectIterator.matcher
The
GameObjectMatcher for filtering returned game objects. |
private GameObjectMatcher |
AutoInsertionModeTest.systemGameObjectMatcher
A
GameObjectMatcher that matches system objects. |
private GameObjectMatcher |
AutoInsertionMode.systemObjectGameObjectMatcher
A
GameObjectMatcher matching system objects that should stay on
top. |
private GameObjectMatcher |
AutoInsertionModeTest.wallGameObjectMatcher
A
GameObjectMatcher that matches wall objects. |
private GameObjectMatcher |
AutoInsertionMode.wallGameObjectMatcher
A
GameObjectMatcher matching wall game objects. |
Modifier and Type | Method and Description |
---|---|
private static void |
FilterGameObjectIteratorTest.check(GameObjectMatcher matcher,
Iterator<TestGameObject> iterator,
TestGameObject... gameObjects)
Creates a new
FilterGameObjectIterator instance and checks that
it returns the expected game objects. |
G |
MapSquare.getAfterLast(GameObjectMatcher gameObjectMatcher)
Returns the game object after the last occurrence of a matching game
object.
|
G |
MapSquare.getBeforeFirst(GameObjectMatcher gameObjectMatcher)
Returns the game object before the first occurrence of a matching game
object.
|
G |
MapSquare.getFirst(GameObjectMatcher gameObjectMatcher)
Returns the first occurrence of a matching game object.
|
G |
MapSquare.getLast(GameObjectMatcher gameObjectMatcher)
Returns the last occurrence of a matching game object.
|
G |
MapSquare.getLastOfLeadingSpan(GameObjectMatcher gameObjectMatcher)
Returns the last game object of the initial segment of matching game
objects.
|
Constructor and Description |
---|
AboveFloorInsertionMode(GameObjectMatcher floorGameObjectMatcher)
Initializes the class.
|
AutoInsertionMode(GameObjectMatcher floorGameObjectMatcher,
GameObjectMatcher wallGameObjectMatcher,
GameObjectMatcher belowFloorGameObjectMatcher,
GameObjectMatcher systemObjectGameObjectMatcher)
Initializes the class.
|
BelowFloorInsertionMode(GameObjectMatcher floorGameObjectMatcher)
Initializes the class.
|
FilterGameObjectIterator(Iterator<G> iterator,
GameObjectMatcher matcher)
Creates a new instance.
|
InsertionModeSet(InsertionMode<G,A,R> topmostInsertionMode,
GameObjectMatcher floorGameObjectMatcher,
GameObjectMatcher wallGameObjectMatcher,
GameObjectMatcher belowFloorGameObjectMatcher,
GameObjectMatcher systemObjectGameObjectMatcher)
Creates a new instance.
|
Modifier and Type | Class and Description |
---|---|
class |
AndGameObjectMatcher
A
GameObjectMatcher that And-combines other GameObjectMatcher s. |
class |
AttributeGameObjectMatcher
An
GameObjectMatcher that matches an attribute value. |
class |
IntAttributeGameObjectMatcher
A
AttributeGameObjectMatcher that compares attributes values using
"int" type. |
class |
MutableNameGameObjectMatcher
An
GameObjectMatcher that simply matches an archetype name. |
class |
MutableOrGameObjectMatcher
A
GameObjectMatcher that delegates to other GameObjectMatcher s. |
class |
NamedGameObjectMatcher
Decorates an arbitrary
GameObjectMatcher with a localized name that
is suitable for the user interface. |
class |
NotGameObjectMatcher
A
GameObjectMatcher that negates another GameObjectMatcher . |
class |
OrGameObjectMatcher
A
GameObjectMatcher that Or-combines other GameObjectMatcher s. |
class |
StringAttributeGameObjectMatcher
A
AttributeGameObjectMatcher that compares attributes values using
"string" type. |
class |
TypeNrsGameObjectMatcher
An
GameObjectMatcher matching certain archetype types. |
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
NamedGameObjectMatcher.envGameObjectMatcher
The environment
GameObjectMatcher . |
private GameObjectMatcher |
SetEnabledAction.gameObjectMatcher
The
GameObjectMatcher to be added / removed. |
private GameObjectMatcher |
NamedGameObjectMatcher.gameObjectMatcher
The
GameObjectMatcher to wrap. |
private GameObjectMatcher |
NotGameObjectMatcher.gameObjectMatcher
The
GameObjectMatcher to negate. |
private GameObjectMatcher |
ViewGameObjectMatcherManager.GameObjectMatcherToggleAction.gameObjectMatcher
The
GameObjectMatcher to add / remove. |
Modifier and Type | Field and Description |
---|---|
private Collection<GameObjectMatcher> |
MutableOrGameObjectMatcher.gameObjectMatchers
The
GameObjectMatchers to OR. |
private Collection<GameObjectMatcher> |
AndGameObjectMatcher.matchers
The list of
GameObjectMatchers to AND. |
private Collection<GameObjectMatcher> |
OrGameObjectMatcher.matchers
List of
GameObjectMatcher to OR. |
Modifier and Type | Method and Description |
---|---|
private static GameObjectMatcher |
GameObjectMatcherParser.createAndMatcher(Node el)
Creates an
AndGameObjectMatcher . |
private static GameObjectMatcher |
GameObjectMatcherParser.createAttributeArchObjectMatcher(Element el)
Creates an
AttributeGameObjectMatcher . |
private static GameObjectMatcher |
GameObjectMatcherParser.createMatcher(Element el)
Creates a
GameObjectMatcher from XML. |
private static GameObjectMatcher |
GameObjectMatcherParser.createOrMatcher(Node el)
Creates an
OrGameObjectMatcher . |
private static GameObjectMatcher |
GameObjectMatcherParser.createTypeNrsArchObjectMatcher(Element el)
Creates a
TypeNrsGameObjectMatcher . |
GameObjectMatcher |
GameObjectMatchers.getMatcher(String... ids)
Returns a matcher by id; returns
null if the matcher does
not exist. |
GameObjectMatcher |
GameObjectMatchers.getMatcherWarn(ErrorViewCollector errorViewCollector,
String... ids)
Returns a matcher by id; prints a warning if the matcher does not exist.
|
Modifier and Type | Method and Description |
---|---|
private static Collection<GameObjectMatcher> |
GameObjectMatcherParser.getChildMatchers(Node el)
Gets the matchers that are found as children of an XML element.
|
Modifier and Type | Method and Description |
---|---|
void |
MutableOrGameObjectMatcher.addArchObjectMatcher(GameObjectMatcher gameObjectMatcher)
Adds an
GameObjectMatcher . |
Action |
ViewGameObjectMatcherManager.addArchObjectMatcher(GameObjectMatcher gameObjectMatcher)
Adds an
GameObjectMatcher . |
boolean |
MutableOrGameObjectMatcher.containsArchObjectMatcher(GameObjectMatcher gameObjectMatcher)
Checks whether a certain
GameObjectMatcher is contained in this
matcher. |
void |
MutableOrGameObjectMatcher.removeArchObjectMatcher(GameObjectMatcher gameObjectMatcher)
Removes an
GameObjectMatcher . |
Constructor and Description |
---|
NamedGameObjectMatcher(int editType,
String id,
String name,
boolean systemMatcher,
GameObjectMatcher envGameObjectMatcher,
GameObjectMatcher gameObjectMatcher)
Creates a
NamedGameObjectMatcher . |
NotGameObjectMatcher(GameObjectMatcher gameObjectMatcher)
Creates a new instance.
|
SetEnabledAction(MutableOrGameObjectMatcher mutableOrGameObjectMatcher,
GameObjectMatcher gameObjectMatcher)
Creates a
SetEnabledAction . |
ViewGameObjectMatcherManager.GameObjectMatcherToggleAction(GameObjectMatcher gameObjectMatcher,
MutableOrGameObjectMatcher mutableOrArchObjectMatcher)
Creates an
GameObjectMatcherToggleAction . |
Constructor and Description |
---|
AndGameObjectMatcher(Collection<GameObjectMatcher> matchers)
Creates an
AndGameObjectMatcher . |
OrGameObjectMatcher(Collection<GameObjectMatcher> matchers)
Create an
OrGameObjectMatcher . |
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
ShopSquareChecker.blockedMatcher
The
GameObjectMatcher for finding blocked squares. |
private GameObjectMatcher |
Entry.gameObjectMatcher
Selects the game objects to check.
|
private GameObjectMatcher |
ShopSquareChecker.noSpellsMatcher
The
GameObjectMatcher for finding no-spell squares. |
private GameObjectMatcher |
PaidItemShopSquareChecker.paidItemMatcher
The
GameObjectMatcher for finding paid items. |
private GameObjectMatcher |
ShopSquareChecker.shopMatcher
The
GameObjectMatcher for finding shop squares. |
private GameObjectMatcher |
PaidItemShopSquareChecker.shopMatcher
The
GameObjectMatcher for finding shop squares. |
private GameObjectMatcher |
ConnectionChecker.sink2GameObjectMatcher
The
GameObjectMatcher for matching sinks. |
private GameObjectMatcher |
ConnectionChecker.sinkGameObjectMatcher
The
GameObjectMatcher for matching sinks. |
private GameObjectMatcher |
ConnectionChecker.sourceGameObjectMatcher
The
GameObjectMatcher for matching sources. |
Modifier and Type | Field and Description |
---|---|
private Map<GameObjectMatcher,Type<G,A,R>> |
AttributeRangeChecker.matchers
Maps matcher to
Type instance. |
Modifier and Type | Method and Description |
---|---|
private GameObjectMatcher |
ValidatorFactory.createGameObjectMatcher(String arg)
Creates a
GameObjectMatcher instance from string representation. |
Modifier and Type | Method and Description |
---|---|
void |
AttributeRangeChecker.add(GameObjectMatcher matcher,
String name,
String displayName,
int minValue,
int maxValue)
Adds an attribute to check.
|
void |
SlayingChecker.addMatcher(GameObjectMatcher gameObjectMatcher,
Pattern regex)
Adds a matcher to check.
|
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 Type<G,A,R> |
AttributeRangeChecker.getMatcher(GameObjectMatcher matcher)
Returns the
Type instance for a given GameObjectMatcher . |
private boolean |
AbstractShopSquareChecker.isMatching(Iterable<G> mapSquare,
GameObjectMatcher matcher)
Returns whether a map square contains a game object matching a given
GameObjectMatcher . |
Constructor and Description |
---|
ConnectionChecker(ValidatorPreferences validatorPreferences,
GameObjectMatcher sourceGameObjectMatcher,
GameObjectMatcher sinkGameObjectMatcher,
GameObjectMatcher sink2GameObjectMatcher)
Create a new instance.
|
Entry(GameObjectMatcher gameObjectMatcher,
Pattern regex)
Creates a new instance.
|
PaidItemShopSquareChecker(ValidatorPreferences validatorPreferences,
GameObjectMatcher shopMatcher,
GameObjectMatcher paidItemMatcher)
Creates a new instance.
|
ShopSquareChecker(ValidatorPreferences validatorPreferences,
GameObjectMatcher shopMatcher,
GameObjectMatcher noSpellsMatcher,
GameObjectMatcher blockedMatcher)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
private static void |
DefaultEditorFactory.addAttributeRangeChecker(AttributeRangeChecker<GameObject,MapArchObject,Archetype> attributeRangeChecker,
GameObjectMatcher matcher,
String name,
String displayName,
int minValue,
int maxValue) |
Modifier and Type | Field and Description |
---|---|
private GameObjectMatcher |
NonAbsoluteExitPathChecker.exitGameObjectMatcher
The
GameObjectMatcher for matching exit objects. |
Constructor and Description |
---|
NonAbsoluteExitPathChecker(ValidatorPreferences validatorPreferences,
GameObjectMatcher exitGameObjectMatcher)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
private static void |
DefaultEditorFactory.addAttributeRangeChecker(AttributeRangeChecker<GameObject,MapArchObject,Archetype> attributeRangeChecker,
GameObjectMatcher matcher,
String name,
String displayName,
int minValue,
int maxValue) |
Feedback: webmaster
© 2003-2010 The Gridarta Developers. All rights reserved.