Skip to content

Method: AbstractSSPMove()

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