Skip to content

Package: IC4State

IC4State

Coverage

1: package de.fhdw.gaming.ipspiel23.c4.domain;
2:
3: import de.fhdw.gaming.core.domain.State;
4:
5: /**
6: * The state of the connect four game.
7: */
8: public interface IC4State extends State<IC4Player, IC4State> {
9:
10: /**
11: * The board of the connect four game.
12: */
13: IC4Board getBoard();
14:
15: /**
16: * The player who is currently on turn.
17: */
18: IC4Player getCurrentPlayer();
19:
20: /**
21: * A callback that is called when a move has been completed.
22: */
23: void onMoveCompleted();
24: }