Hi,
I've seen no real documentation/message about that:
- how to changer player order? By changing the player_no directly in the database?
- after changing the player order, how to say that the active player is the new first one? Using "$this->gamestate->changeActivePlayer( $player_id )"? I'm not sure on this point and i see no global game variable that contains active player.
- any advice to the check whether it's the last player turn in a 'game' type state? I need this to check whether i begin a new "round" in the game.
Thanks
I've seen no real documentation/message about that:
- how to changer player order? By changing the player_no directly in the database?
- after changing the player order, how to say that the active player is the new first one? Using "$this->gamestate->changeActivePlayer( $player_id )"? I'm not sure on this point and i see no global game variable that contains active player.
- any advice to the check whether it's the last player turn in a 'game' type state? I need this to check whether i begin a new "round" in the game.
Thanks