Skip to content

Package: GDStrategyFactory

GDStrategyFactory

Coverage

1: package de.fhdw.gaming.ipspiel22.gefangenenDilemma.domain.factory;
2:
3: import de.fhdw.gaming.ipspiel22.gefangenenDilemma.domain.GDStrategy;
4: import de.fhdw.gaming.ipspiel22.gefangenenDilemma.moves.factory.GDMoveFactory;
5:
6: /**
7: * Represents a factory creating Gefangenen Dilemma strategies.
8: */
9: @FunctionalInterface
10: public interface GDStrategyFactory {
11: /**
12: * Creates a Gefangenen Dilemma strategy.
13: *
14: * @param moveFactory The {@link GDMoveFactory} to use.
15: * @return The Gefangenen Dilemma strategy.
16: */
17: GDStrategy create(GDMoveFactory moveFactory);
18: }