Skip to content

Package: IC4SolutionSlim

IC4SolutionSlim

Coverage

1: package de.fhdw.gaming.ipspiel23.c4.domain;
2:
3: /**
4: * A performance-friendly, "slim" solution for the connect four game.
5: */
6: public interface IC4SolutionSlim {
7:
8: /**
9: * The owner of this solution, i.e., the player who has won the game.
10: */
11: IC4Player getOwner();
12:
13: /**
14: * The start position of this solution.
15: */
16: IC4Position getStartPosition();
17:
18: /**
19: * The end position of this solution.
20: */
21: IC4Position getEndPosition();
22:
23: /**
24: * The direction of this solution.
25: */
26: C4Direction getDirection();
27:
28: /**
29: * The number of fields in this solution.
30: */
31: int size();
32: }