Closed janhancic closed 12 years ago
I can seenhow this is usable but i dont get the variablename..it has nothing to do with game objects? I also need to test a small thning before merging.
Maybe "game_state_setup_options" would be better, as in "options for setup() in a given game state".
indeed, could you rename it? afaik this doesn't break any old code since function foo() { .. }; foo(new_arguments); work just fine.
Sorry for my late response, I was sick (still am) trough the weekend. I've renamed the variable now.
jaws.start() and jaws.switchGameState() now accept a third parameter which is passed to game state's setup() method