Package net.royalur.rules.simple
Class SimpleRuleSetProvider
java.lang.Object
net.royalur.rules.simple.SimpleRuleSetProvider
- All Implemented Interfaces:
RuleSetProvider
A provider that creates simple rule sets.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncreate
(GameSettings settings, GameMetadata metadata) Creates a rule set to match the given settings and game metadata.
-
Constructor Details
-
SimpleRuleSetProvider
public SimpleRuleSetProvider()
-
-
Method Details
-
create
Description copied from interface:RuleSetProvider
Creates a rule set to match the given settings and game metadata.- Specified by:
create
in interfaceRuleSetProvider
- Parameters:
settings
- The settings of the game.metadata
- The metadata associated with the game.- Returns:
- A rule set matching the given settings and game metadata.
-