Skip to content

Package: AbstractKopfundZahlMove

AbstractKopfundZahlMove

nameinstructionbranchcomplexitylinemethod
AbstractKopfundZahlMove()
M: 0 C: 3
100%
M: 0 C: 0
100%
M: 0 C: 1
100%
M: 0 C: 2
100%
M: 0 C: 1
100%

Coverage

1: package de.fhdw.gaming.ipspiel22.kopfundzahl.moves.impl;
2:
3: import de.fhdw.gaming.ipspiel22.kopfundzahl.moves.KopfundZahlMove;
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 KopfundZahlMove}
9: * implementation is allowed by the rules of the game. As this class is not exported, custom
10: * strategies are unable to create {@link KopfundZahlMove} objects that inherit from this class,
11: * so custom moves can be distinguished from possible moves easily.
12: */
13: public abstract class AbstractKopfundZahlMove implements KopfundZahlMove {
14:
15: /**
16: * Protected constructor.
17: */
18: protected AbstractKopfundZahlMove() {
19: // Nothing to do
20: }
21: }