Skip to content

Package: IC4GameBuilderFactory

IC4GameBuilderFactory

Coverage

1: package de.fhdw.gaming.ipspiel23.c4.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 creating connect four game builders.
9: */
10: public interface IC4GameBuilderFactory extends GameBuilderFactory {
11:
12: /**
13: * The UI key for the number of rows of the board.
14: */
15: String PARAM_BOARD_ROWS = "boardRows";
16:
17: /**
18: * The UI key for the number of columns of the board.
19: */
20: String PARAM_BOARD_COLUMNS = "boardColumns";
21:
22: /**
23: * The UI key for the number of players of the board.
24: */
25: String PARAM_PLAYER_COUNT = "playerCount";
26:
27: /**
28: * The UI key for the required solution size.
29: */
30: String PARAM_REQUIRED_SOLUTION_SIZE = "requiredSolutionSize";
31:
32: @Override
33: IC4GameBuilder createGameBuilder(InputProvider inputProvider) throws GameException;
34: }