public class PaidItemShopSquareChecker<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 that contain paid items.| Constructor and Description |
|---|
PaidItemShopSquareChecker(@NotNull ValidatorPreferences validatorPreferences,
@NotNull GameObjectMatcher shopMatcher,
@NotNull GameObjectMatcher paidItemMatcher)
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 PaidItemShopSquareChecker(@NotNull
@NotNull ValidatorPreferences validatorPreferences,
@NotNull
@NotNull GameObjectMatcher shopMatcher,
@NotNull
@NotNull GameObjectMatcher paidItemMatcher)
validatorPreferences - the validator preferences to useshopMatcher - the game object matcher for finding shop squarespaidItemMatcher - the game object matcher for finding paid itemspublic 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