Package VASSAL.configure
Class RecursiveSingleChildInstance
java.lang.Object
VASSAL.configure.RecursiveSingleChildInstance
- All Implemented Interfaces:
ValidityChecker
Ensures that at most a single instance of a given type
belongs to a given parent
Runs Recursively down whole component tree from target, using Buildable.isUnique to identify sub-components
that should be unique
Designed to be attached to the GameModule.
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
RecursiveSingleChildInstance
public RecursiveSingleChildInstance()
-
-
Method Details
-
validate
- Specified by:
validate
in interfaceValidityChecker
-