diff options
author | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-18 15:25:26 +0200 |
---|---|---|
committer | Ida Massow <massow@informatik.uni-luebeck.de> | 2011-05-18 15:25:26 +0200 |
commit | b3c903a2ad86aa803fe9bcf83aea947c452241b5 (patch) | |
tree | 51c2f9e9a6ef68d0857ce493e38282ebc8178ec3 /src/jrummikub/model | |
parent | d0a70145772a17ab75db4c705efb421e3bcce378 (diff) | |
download | JRummikub-b3c903a2ad86aa803fe9bcf83aea947c452241b5.tar JRummikub-b3c903a2ad86aa803fe9bcf83aea947c452241b5.zip |
GameState ist jetzt RoundState
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@249 72836036-5685-4462-b002-a69064685172
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)); |