Skip to contentPackage: VierConnectsStrategyFactory
VierConnectsStrategyFactory
Coverage
      1: /*
2:  * Copyright © 2021-2023 Fachhochschule für die Wirtschaft (FHDW) Hannover
3:  *
4:  * This file is part of ipspiel24-VierConnects-core.
5:  *
6:  * ipspiel24-VierConnects-core is free software: you can redistribute it and/or modify it under
7:  * the terms of the GNU General Public License as published by the Free Software
8:  * Foundation, either version 3 of the License, or (at your option) any later
9:  * version.
10:  *
11:  * ipspiel24-VierConnects-core is distributed in the hope that it will be useful, but WITHOUT
12:  * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13:  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14:  * details.
15:  *
16:  * You should have received a copy of the GNU General Public License along with
17:  * ipspiel24-VierConnects-core. If not, see <http://www.gnu.org/licenses/>.
18:  */
19: package de.fhdw.gaming.ipspiel24.VierConnects.core.domain.factory;
20: 
21: import de.fhdw.gaming.ipspiel24.VierConnects.core.domain.VierConnectsStrategy;
22: import de.fhdw.gaming.ipspiel24.VierConnects.core.moves.factory.VierConnectsMoveFactory;
23: 
24: /**
25:  * Represents a factory creating Vier Connects strategies.
26:  */
27: @FunctionalInterface
28: public interface VierConnectsStrategyFactory {
29: 
30:     /**
31:      * Creates a Vier Connects strategy.
32:      *
33:      * @param moveFactory The {@link VierConnectsMoveFactory} to use.
34:      * @return The Vier Connects strategy.
35:      */
36:     VierConnectsStrategy create(VierConnectsMoveFactory moveFactory);
37: }