public class ShopSquareChecker<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>> extends AbstractShopSquareChecker<G,A,R>
MapValidator to detect shop
squares which allow magic or prayers.| Constructor and Description |
|---|
ShopSquareChecker(@NotNull ValidatorPreferences validatorPreferences,
@NotNull GameObjectMatcher shopMatcher,
@NotNull GameObjectMatcher noSpellsMatcher,
@Nullable GameObjectMatcher blockedMatcher)
Creates a new instance.
|
| Modifier and Type | Method and Description |
|---|---|
void |
validateMap(@NotNull MapModel<G,A,R> mapModel,
@NotNull ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
findMatchingSquaresgetKey, isDefaultEnabled, isEnabled, setEnabledclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetKey, isDefaultEnabled, isEnabled, setEnabledpublic ShopSquareChecker(@NotNull
@NotNull ValidatorPreferences validatorPreferences,
@NotNull
@NotNull GameObjectMatcher shopMatcher,
@NotNull
@NotNull GameObjectMatcher noSpellsMatcher,
@Nullable
@Nullable GameObjectMatcher blockedMatcher)
validatorPreferences - the validator preferences to useshopMatcher - the game object matcher for finding shop squaresnoSpellsMatcher - the game object matcher for finding no-spell
squaresblockedMatcher - the game object matcher for finding blocked
squarespublic void validateMap(@NotNull
@NotNull MapModel<G,A,R> mapModel,
@NotNull
@NotNull ErrorCollector<G,A,R> errorCollector)
MapValidatormapModel - Map to validateerrorCollector - Error collector to report errors to