Skip to content

Package: KopfundZahlStrategyFactory

KopfundZahlStrategyFactory

Coverage

1: package de.fhdw.gaming.ipspiel22.kopfundzahl.domain.factory;
2:
3: import de.fhdw.gaming.ipspiel22.kopfundzahl.domain.KopfundZahlStrategy;
4: import de.fhdw.gaming.ipspiel22.kopfundzahl.moves.factory.KopfundZahlMoveFactory;
5:
6: /**
7: * Represents a factory creating strategies for head and tail.
8: */
9: @FunctionalInterface
10: public interface KopfundZahlStrategyFactory {
11:
12: /**
13: * Creates a KopfundZahl strategy.
14: *
15: * @param moveFactory The {@link KopfundZahlMoveFactory} to use.
16: * @return The KopfundZahl strategy.
17: */
18: KopfundZahlStrategy create(KopfundZahlMoveFactory moveFactory);
19: }