Skip to content

Package: IHTGameBuilderFactory

IHTGameBuilderFactory

Coverage

1: package de.fhdw.gaming.ipspiel23.ht.domain;
2:
3: import de.fhdw.gaming.core.domain.GameBuilderFactory;
4: import de.fhdw.gaming.core.domain.GameException;
5: import de.fhdw.gaming.core.ui.InputProvider;
6:
7: /**
8: * A factory for {@link IHTGameBuilder}s.
9: */
10: public interface IHTGameBuilderFactory extends GameBuilderFactory {
11:
12: /**
13: * The name of the parameter which specifies the outcome of the player if the both players answer the
14: * same thing (Heads/Heads or Tails/Tails).
15: */
16: String PARAM_PLAYER_OUTCOME_EQUAL = "playerOutcomeOnEqualSides";
17:
18: /**
19: * The name of the parameter which specifies the outcome of the player if the both players answer different
20: * things (Heads/Tails or Tails/Heads).
21: */
22: String PARAM_PLAYER_OUTCOME_DIFFERENT = "playerOutcomeOnDifferentSides";
23:
24: @Override
25: IHTGameBuilder createGameBuilder(InputProvider inputProvider) throws GameException;
26: }