Here is a sample of the refactoring i'm doing... this need
a lot of work, but it is a good "sample" of what i'm
thinking about. Please let me know if you think my
changes are good for you or if you prefear me to start a
new branch my own.
Note that class package moves are only tests as i'm not
convinced with the new organization.
UIListener/NebulaUI/Communicator will change to
support modular procedures way...
* created package net.sf.nebulacards.comm containing
Communitator classes
* added "Game" interface handling Games (used by
GameRunner)
* created a RuledGame to be extended by rulesets
that intend to use
"oldstyle" Rules specifications (as much as possible
similar)
* introduced the GameProvider interface
* moved uicomponents inside the ui package
* moved GameRunner into the "main" package
(net.sf.nebulacards contain only
toplevel application objects)
* created a first version of "build.xml" to build
nebulacards with ANT
* moved UIcommunication classes (UIListener,
NebulaUi and extensions) to
"net.sf.nebulacards.cs"
* Splitted GameRunner methods into
specific "Procedures"
* moved specific procedures to
package "net.sf.nebulacards.procedures"
Whole source tree