Flash Challenge.getResult()

From J2Play

Jump to: navigation, search

Contents

Description

Get game result of specific player.

Syntax

public function getResult(index: Number): Number;

Parameters

* @param index of player

Return Value

@return number represent win/lose status
  public static var RESULT_NULL= 0;
  public static var RESULT_WIN = 1;
  public static var RESULT_LOSS = 2;
  public static var RESULT_TIE = 3;

Examples

Usually you don't need to get this information in challenge

Personal tools