Commit graph

97 commits

Author SHA1 Message Date
ffbfc751c9 Set initial enable state of the player remove buttons correctly
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@293 72836036-5685-4462-b002-a69064685172
2011-05-28 21:11:35 +02:00
1372ee7b9e Updated settings panel to work with new settings control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@292 72836036-5685-4462-b002-a69064685172
2011-05-28 20:13:36 +02:00
5aa79ea898 Implement settings control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@291 72836036-5685-4462-b002-a69064685172
2011-05-28 20:13:35 +02:00
Jannis Harder
ffeefad257 Added round control tests for checking whether redealing is allowed
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@289 72836036-5685-4462-b002-a69064685172
2011-05-27 18:55:17 +02:00
Jannis Harder
2d198820a9 GameControl tests, temporary handler in SettingsControl and small
fixes

git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@288 72836036-5685-4462-b002-a69064685172
2011-05-27 17:54:46 +02:00
Jannis Harder
f7743efa7d Test redealing in RoundControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@286 72836036-5685-4462-b002-a69064685172
2011-05-27 17:54:42 +02:00
Ida Massow
531fe57b17 Test für SettingsControl, 3 neue Klassen, Mocks für SettingPanel, lauter fixes
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@285 72836036-5685-4462-b002-a69064685172
2011-05-27 15:00:28 +02:00
df79c78dec Add application control, use game settings from settings panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@284 72836036-5685-4462-b002-a69064685172
2011-05-26 16:12:44 +02:00
3d74d11974 Remove player labels at the table edges
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@283 72836036-5685-4462-b002-a69064685172
2011-05-26 16:02:33 +02:00
cff3180460 Implement color choosing and automatic color and name choice
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@282 72836036-5685-4462-b002-a69064685172
2011-05-26 15:04:54 +02:00
04df1a24d8 Make player name setup work
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@281 72836036-5685-4462-b002-a69064685172
2011-05-26 01:33:17 +02:00
Jannis Harder
10cd2cb902 Larger default window size
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@280 72836036-5685-4462-b002-a69064685172
2011-05-25 23:49:40 +02:00
Jannis Harder
3fb3b387c8 Cleaned up player panel code
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@279 72836036-5685-4462-b002-a69064685172
2011-05-25 23:49:39 +02:00
Jannis Harder
d69fdbacb9 Added UI for readealing
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@278 72836036-5685-4462-b002-a69064685172
2011-05-25 23:38:05 +02:00
11d616f5b0 Started implementation of settings panel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@276 72836036-5685-4462-b002-a69064685172
2011-05-25 17:33:50 +02:00
Jannis Harder
6df3d5fe32 Moved displaying of win panel in game control
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@270 72836036-5685-4462-b002-a69064685172
2011-05-24 23:15:21 +02:00
c4c091eb61 Use correct default foreground color for the time bar
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@247 72836036-5685-4462-b002-a69064685172
2011-05-16 22:27:39 +02:00
a4f5beb005 Move getHandPanel from IPlayerPanel to IView
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@245 72836036-5685-4462-b002-a69064685172
2011-05-16 22:09:56 +02:00
9ad7f0822e Add hand row controls to view
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@241 72836036-5685-4462-b002-a69064685172
2011-05-16 20:49:11 +02:00
34a8bf5a27 Fix a comment and update documentation
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@233 72836036-5685-4462-b002-a69064685172
2011-05-10 17:05:58 +02:00
85b5470c05 Remove return value of Table.pickUpStone()
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@229 72836036-5685-4462-b002-a69064685172
2011-05-10 16:53:44 +02:00
fa00c661d5 Make orange stone color more orange
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@228 72836036-5685-4462-b002-a69064685172
2011-05-10 16:53:43 +02:00
3eae312798 Don't draw stone value shadow for small scales
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@223 72836036-5685-4462-b002-a69064685172
2011-05-10 05:09:47 +02:00
f9b11da63b Don't show a 1x1 sized board on startup
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@221 72836036-5685-4462-b002-a69064685172
2011-05-10 04:33:05 +02:00
d542d142c8 Added bling-bling
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@219 72836036-5685-4462-b002-a69064685172
2011-05-10 04:29:15 +02:00
Jannis Harder
3b49b2053e Added all missing comments
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@213 72836036-5685-4462-b002-a69064685172
2011-05-10 03:54:48 +02:00
4a860e53cf Set correct player names :)
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@212 72836036-5685-4462-b002-a69064685172
2011-05-10 03:37:34 +02:00
Bennet Gerlach
9c056cfef7 Implemented direct placing of stones via alt-key
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@209 72836036-5685-4462-b002-a69064685172
2011-05-10 02:10:30 +02:00
56b75e037a Implement hand auto-sort
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@205 72836036-5685-4462-b002-a69064685172
2011-05-10 01:22:56 +02:00
Ida Massow
050ae5f224 Angefangener Test für Hand-Steine-verschwinden-fix
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@194 72836036-5685-4462-b002-a69064685172
2011-05-09 20:54:17 +02:00
90aeaab900 Fix an exception
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@185 72836036-5685-4462-b002-a69064685172
2011-05-09 16:05:39 +02:00
5397c0c59e Fix table scale setting
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@182 72836036-5685-4462-b002-a69064685172
2011-05-09 04:41:57 +02:00
ad3b8ecb48 Fix rounding errors in stone positioning on table
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@181 72836036-5685-4462-b002-a69064685172
2011-05-09 01:46:41 +02:00
4390c76630 Handle click events next to the collection as click events for the table
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@168 72836036-5685-4462-b002-a69064685172
2011-05-06 04:33:13 +02:00
706406ed6f Display time in red when 10 seconds or less is left
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@167 72836036-5685-4462-b002-a69064685172
2011-05-06 03:56:23 +02:00
b8206243a7 Added hover effects
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@166 72836036-5685-4462-b002-a69064685172
2011-05-06 03:39:34 +02:00
093e156018 Got rid of alpha blending in TablePanel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@165 72836036-5685-4462-b002-a69064685172
2011-05-06 03:14:05 +02:00
d6fc29d326 Rework collection border
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@164 72836036-5685-4462-b002-a69064685172
2011-05-06 02:55:22 +02:00
367aa6a65c Make StoneCollectionPanel opaque
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@163 72836036-5685-4462-b002-a69064685172
2011-05-06 01:46:10 +02:00
794e3573f6 A lot of view performance optimizations
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@162 72836036-5685-4462-b002-a69064685172
2011-05-06 01:35:21 +02:00
38f6f0dc24 Add some endOfTurn handling to RoundControl
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@155 72836036-5685-4462-b002-a69064685172
2011-05-05 21:13:59 +02:00
1b881c2ac7 Fix win panel and turn panel visibility
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@141 72836036-5685-4462-b002-a69064685172
2011-05-05 01:37:24 +02:00
6cac00762b Added some documentation
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@134 72836036-5685-4462-b002-a69064685172
2011-05-05 00:01:24 +02:00
Jannis Harder
50f1d6c05a Changed view implementation to use Iterable of Pairs
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@129 72836036-5685-4462-b002-a69064685172
2011-05-04 23:28:39 +02:00
Bennet Gerlach
db7489a5c7 New main
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@127 72836036-5685-4462-b002-a69064685172
2011-05-04 23:14:10 +02:00
8199274c9d Added JavaDoc to WinPanel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@109 72836036-5685-4462-b002-a69064685172
2011-05-04 17:03:17 +02:00
a96f92148a Add some documentation to view
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@108 72836036-5685-4462-b002-a69064685172
2011-05-04 17:03:16 +02:00
Ida Massow
b5bbfc25de View hat eine Anzeige für gewonnen und Buttons für neues Spiel bzw. Programm beenden
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@103 72836036-5685-4462-b002-a69064685172
2011-05-04 16:20:17 +02:00
Bennet Gerlach
e39a539ee3 Added StartTurnPanel
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@102 72836036-5685-4462-b002-a69064685172
2011-05-04 15:40:34 +02:00
a274c2b02e Rescale collection; add bottom margin to table for collection
git-svn-id: svn://sunsvr01.isp.uni-luebeck.de/swproj13/trunk@99 72836036-5685-4462-b002-a69064685172
2011-05-03 21:55:14 +02:00