Skip to contentMethod: create(IDilemmaMoveFactory)
      1: package de.fhdw.gaming.ipspiel23.dilemma.strategy.internals.tit_for_tat;
2: 
3: import de.fhdw.gaming.ipspiel23.dilemma.domain.IDilemmaStrategy;
4: import de.fhdw.gaming.ipspiel23.dilemma.moves.IDilemmaMoveFactory;
5: import de.fhdw.gaming.ipspiel23.dilemma.strategy.IDilemmaStrategyFactory;
6: 
7: /**
8:  * Factory for {@link DilemmaTitForTatStrategy}.
9:  */
10: public class DilemmaTitForTatStrategyFactory implements IDilemmaStrategyFactory {
11: 
12:     @Override
13:     public IDilemmaStrategy create(final IDilemmaMoveFactory moveFactory) {
14:         return new DilemmaTitForTatStrategy(moveFactory);
15:     }
16: }