Skip to contentPackage: KopfundZahlStrategyFactory
KopfundZahlStrategyFactory
Coverage
      1: package de.fhdw.gaming.ipspiel22.kopfundzahlundkante.domain.factory;
2: 
3: import de.fhdw.gaming.ipspiel22.kopfundzahlundkante.domain.KopfundZahlundKanteStrategy;
4: import de.fhdw.gaming.ipspiel22.kopfundzahlundkante.moves.factory.KopfundZahlundKanteMoveFactory;
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 KopfundZahlundKanteMoveFactory} to use.
16:      * @return The KopfundZahl strategy.
17:      */
18:     KopfundZahlundKanteStrategy create(KopfundZahlundKanteMoveFactory moveFactory);
19: }