Skip to content

Method: AbstractKopfundZahlundKanteMove()

1: package de.fhdw.gaming.ipspiel22.kopfundzahlundkante.moves.impl;
2:
3: import de.fhdw.gaming.ipspiel22.kopfundzahlundkante.moves.KopfundZahlundKanteMove;
4:
5: /**
6: * Represents a move allowed by the rules of the game.
7: * <p>
8: * The purpose of this class is solely to be able to check whether a {@link KopfundZahlundKanteMove}
9: * implementation is allowed by the rules of the game. As this class is not exported, custom
10: * strategies are unable to create {@link KopfundZahlundKanteMove} objects that inherit from this class,
11: * so custom moves can be distinguished from possible moves easily.
12: */
13: public abstract class AbstractKopfundZahlundKanteMove implements KopfundZahlundKanteMove {
14:
15: /**
16: * Protected constructor.
17: */
18: protected AbstractKopfundZahlundKanteMove() {
19: // Nothing to do
20: }
21: }