Skip to contentMethod: create(FGMoveFactory)
      1: package de.fhdw.gaming.ipspiel24.fg.strategy;
2: 
3: import de.fhdw.gaming.ipspiel24.fg.domain.FGStrategy;
4: import de.fhdw.gaming.ipspiel24.fg.domain.factory.FGStrategyFactory;
5: import de.fhdw.gaming.ipspiel24.fg.moves.factory.FGMoveFactory;
6: 
7: /**
8:  * Implements {@link FGStrategyFactory} by creating a {@link FGSayYesStrategy}.
9:  */
10: public class FGCinemaStrategyFactory implements FGStrategyFactory {
11: 
12:     @Override
13:     public FGStrategy create(final FGMoveFactory moveFactory) {
14:         return new FGCinemaStrategy(moveFactory);
15:     }
16:     
17: 
18: }