diff options
Diffstat (limited to 'src/jrummikub/control/turn/TurnControlFactory.java')
-rw-r--r-- | src/jrummikub/control/turn/TurnControlFactory.java | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/jrummikub/control/turn/TurnControlFactory.java b/src/jrummikub/control/turn/TurnControlFactory.java index 4474763..95396aa 100644 --- a/src/jrummikub/control/turn/TurnControlFactory.java +++ b/src/jrummikub/control/turn/TurnControlFactory.java @@ -16,14 +16,18 @@ public abstract class TurnControlFactory { COMPUTER }; - + /** + * Creates a new turn control instance + * + * @return the turn control + */ public abstract ITurnControl create(); /** * returns the turn control factory for the specified type * * @param type - * Human or Computer + * Human or Computer * @return TurnControlFactory for the player kind */ static public TurnControlFactory getFactory(Type type) { |