Skip to content

Package: DemoGameBuilderFactory

DemoGameBuilderFactory

Coverage

1: /*
2: * Copyright © 2021-2023 Fachhochschule für die Wirtschaft (FHDW) Hannover
3: *
4: * This file is part of ipspiel24-demo.
5: *
6: * Ipspiel24-demo is free software: you can redistribute it and/or modify it under the terms of the GNU General Public
7: * License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later
8: * version.
9: *
10: * Ipspiel24-demo is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied
11: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
12: *
13: * You should have received a copy of the GNU General Public License along with ipspiel24-demo. If not, see
14: * <http://www.gnu.org/licenses/>.
15: */
16: package de.fhdw.gaming.ipspiel24.demo.domain;
17:
18: import de.fhdw.gaming.core.domain.GameBuilderFactory;
19: import de.fhdw.gaming.core.domain.GameException;
20: import de.fhdw.gaming.core.ui.InputProvider;
21:
22: /**
23: * A Demo {@link GameBuilderFactory} which allows to create a Demo game builder.
24: */
25: public interface DemoGameBuilderFactory extends GameBuilderFactory {
26:
27: /**
28: * Player's outcome on no/no.
29: */
30: String PARAM_PLAYER_OUTCOME_ON_NO_NO = "playerOutcomeOnNoNo";
31:
32: /**
33: * Player's outcome on no/yes.
34: */
35: String PARAM_PLAYER_OUTCOME_ON_NO_YES = "playerOutcomeOnNoYes";
36:
37: /**
38: * Player's outcome on no/no.
39: */
40: String PARAM_PLAYER_OUTCOME_ON_YES_NO = "playerOutcomeOnYesNo";
41:
42: /**
43: * Player's outcome on no/yes.
44: */
45: String PARAM_PLAYER_OUTCOME_ON_YES_YES = "playerOutcomeOnYesYes";
46:
47: @Override
48: DemoGameBuilder createGameBuilder(InputProvider inputProvider) throws GameException;
49: }