Skip to content

Method: AbstractMuenzwurfMove()

1: package de.fhdw.gaming.ipspiel24.muenzwurf.core.moves.impl;
2:
3: import de.fhdw.gaming.ipspiel24.muenzwurf.core.moves.MuenzwurfMove;
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 AbstractMuenzwurfMove implements MuenzwurfMove {
13:
14: /**
15: * Protected constructor.
16: */
17: protected AbstractMuenzwurfMove() {
18: // nothing to do
19: }
20: }