Creates a VictoryCondition for gameplay, with physics and collision.
The configuration for the victory object.
Creates a VictoryCondition for the editor (no physics).
The configuration for the victory object.
Protected
createInternal method to create and configure a VictoryCondition.
The configuration for the victory object.
Whether to enable physics.
VictoryConditionFactory creates VictoryCondition instances for gameplay or the editor.