Here are some of my patches to support a little
ehnanced ui and a simple UI replacement, feel free to
modify them, use/not use them, changing
name/packages...
uicomponents(SimpleTableTop.java + TableTop.java) and
ui(gui.java):
- gui now use a TableTop and an extensible method
getTableTop;
- SimpleTableTop extends an abstract class TableTop.
- this allow a little more interface extensibility
it.bago.nebulacards.ui.*:
- added a little enhanced gui that handle images
- I only use it for more intuitive tests of my AI classes
and it doesn't handle exceptions, so images must be in
res/standard/XX.gif where XX is the PlayingCard.toString()
- "standard" could be replaced if PlayingCard
implements PlayingCardDeckIdentifier
res/*:
- card images for the ItalianCards
Base source is 0.6-pre... about refactoring in the
GameRunner/Rules classes I'll wait untill you'll finish
NetPacket extraction.
Files changed/added
Logged In: YES
user_id=204224
The TableTop extensibility has been implemented in 0.7.