I am not sure that will work. Different puzzles might have completely different layouts.
For example, I am designing my Diagonal Slitherlink puzzle to be completely contained
in the GWT UI, but I am envisioning the TripleCross puzzles to have the clues in the HTML
below the UI.
I cannot think of how that would influence this - if each HTML page has its own layout as you already have it, but all load "games/games.nocache.js", and the entrypoint there tests the name of the HTML page that loaded it to decide what to do next, the rest of the code and module could be shared. If the layout instead were in the entrypoint code, then the "branches" of the switch case would initialize the layout based on which page it was on. Either way, not an impediment to this strategy.
You received this message because you are subscribed to the Google Groups "GWT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-web-toolkit+unsubscribe@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/google-web-toolkit/299c6a6c-ccb9-424f-ad6a-b028c7bb87a8n%40googlegroups.com.
No comments:
Post a Comment