Skip to content

Method: VierGewinntDefaultMoveFactory()

1: package de.fhdw.gaming.ipspiel21.viergewinnt.core.domain.moves.factory;
2:
3: import de.fhdw.gaming.ipspiel21.viergewinnt.core.domain.VierGewinntPosition;
4: import de.fhdw.gaming.ipspiel21.viergewinnt.core.domain.moves.VierGewinntMove;
5: import de.fhdw.gaming.ipspiel21.viergewinnt.core.domain.moves.impl.VierGewinntMoveImpl;
6:
7: /**
8: * Implements {@link VierGewinntMoveFactory}.
9: */
10: public final class VierGewinntDefaultMoveFactory implements VierGewinntMoveFactory {
11:
12:
13: @Override
14: public VierGewinntMove createMove(final VierGewinntPosition position) {
15: return new VierGewinntMoveImpl(position);
16: }
17: }