diff options
Diffstat (limited to 'src/jrummikub/model')
-rw-r--r-- | src/jrummikub/model/IRoundState.java (renamed from src/jrummikub/model/IGameState.java) | 4 | ||||
-rw-r--r-- | src/jrummikub/model/RoundState.java (renamed from src/jrummikub/model/GameState.java) | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/src/jrummikub/model/IGameState.java b/src/jrummikub/model/IRoundState.java index ebc31c5..cb6cd73 100644 --- a/src/jrummikub/model/IGameState.java +++ b/src/jrummikub/model/IRoundState.java @@ -1,9 +1,9 @@ package jrummikub.model; /** - * Interface for {@link GameState} model + * Interface for {@link RoundState} model */ -public interface IGameState { +public interface IRoundState { /** * Get the current {@link Table} diff --git a/src/jrummikub/model/GameState.java b/src/jrummikub/model/RoundState.java index 5861a32..82d93b0 100644 --- a/src/jrummikub/model/GameState.java +++ b/src/jrummikub/model/RoundState.java @@ -5,7 +5,7 @@ import java.util.ArrayList; import java.util.List; /** Class managing the overall and momentary GameState */ -public class GameState implements IGameState { +public class RoundState implements IRoundState { private ITable table; private List<Player> players; private int activePlayer; @@ -14,7 +14,7 @@ public class GameState implements IGameState { /** * Create a new GameState with an empty table and (currently) 4 new players. */ - public GameState() { + public RoundState() { table = new Table(); players = new ArrayList<Player>(); players.add(new Player("Ida", Color.RED)); |