Skip to content

Package: AbstractFGMove

AbstractFGMove

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