From: Mark S. <mar...@gm...> - 2008-11-02 14:02:24
|
I have been thinking about how to integrate my JAVA Code Base to draw tiles, maps and functionality into Rails. My initial thought is to do this in two main phases: Phase 1 - Build Tile Tray that will draw all of the tiles in the game Phase 2 - Build Map Frame replacement that will draw the map and all the tiles on top. I am thinking that to start I would transfer my code into a separate package *rails.ui.swing.tiles* and *rails.ui.swing.map*. The actual source would be added to the corresponding new directories under rail/ui/swing/ directory. This would allow for the current production code to remain stable, and allow me to incorporate my JAVA Code incrementally. Does this sound reasonable? or would you prefer I put the code in a different place? Mark |