Flash J2PlayController.isChallenge()
From J2Play
Contents |
Description
Judgement of challenge state, you can know through this function whether this game is a challenge game or just a single player game.
Syntax
public function isChallenge() : Boolean
Parameters
N/A
Return Value
@return true if game is challenge, otherwise false
Examples
if (_global.controller.isChallenge())
{
// process for challenge
}
