Class RecursiveSingleChildInstance

java.lang.Object
VASSAL.configure.RecursiveSingleChildInstance
All Implemented Interfaces:
ValidityChecker

public class RecursiveSingleChildInstance extends Object implements 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.