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(ValidatorPreferences validatorPreferences,
GameObjectMatcher shopMatcher,
GameObjectMatcher paidItemMatcher)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
validateMap(MapModel<G,A,R> mapModel,
ErrorCollector<G,A,R> errorCollector)
Validate a map.
|
findMatchingSquares
getKey, isDefaultEnabled, isEnabled, setEnabled
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getKey, isDefaultEnabled, isEnabled, setEnabled
public PaidItemShopSquareChecker(@NotNull ValidatorPreferences validatorPreferences, @NotNull GameObjectMatcher shopMatcher, @NotNull GameObjectMatcher paidItemMatcher)
validatorPreferences
- the validator preferences to useshopMatcher
- the game object matcher for finding shop squarespaidItemMatcher
- the game object matcher for finding paid items