Skip to content

Package: IHTStrategyFactory

IHTStrategyFactory

Coverage

1: package de.fhdw.gaming.ipspiel23.ht.strategy;
2:
3: import de.fhdw.gaming.ipspiel23.ht.moves.factory.IHTMoveFactory;
4:
5: /**
6: * A factory for creating strategies.
7: */
8: @FunctionalInterface
9: public interface IHTStrategyFactory {
10: /**
11: * Creates a new strategy.
12: *
13: * @param moveFactory the move factory used by the strategy
14: * @return the created strategy
15: */
16: IHTStrategy create(IHTMoveFactory moveFactory);
17: }