Packagenet.flashplusplus.Snapdragon.GameCenter
Classpublic class SDAchievement
InheritanceSDAchievement Inheritance Object

SDAchievement is a descriptor class. It holds informations about the progress of achievements reached by the local user in iOS Game Center.



Public Properties
 PropertyDefined By
  identifier : String
[read-only] Identifier of the achievement used by the Game Center settings in the iTunesConnect.
SDAchievement
  percentCompletion : Number
[read-only] A Number shows the percent of the completion of the achievement.
SDAchievement
Public Methods
 MethodDefined By
  
SDAchievement(identifier:String, percentCompletion:Number)
Constructor of SDAchievement class.
SDAchievement
Property Detail
identifierproperty
identifier:String  [read-only]

Identifier of the achievement used by the Game Center settings in the iTunesConnect.


Implementation
    public function get identifier():String
percentCompletionproperty 
percentCompletion:Number  [read-only]

A Number shows the percent of the completion of the achievement. It is a Number type, but Game Center uses only the integer part of the value.


Implementation
    public function get percentCompletion():Number
Constructor Detail
SDAchievement()Constructor
public function SDAchievement(identifier:String, percentCompletion:Number)

Constructor of SDAchievement class.

Parameters
identifier:String — is string used by the Game Center settings in the iTunesConnect.
 
percentCompletion:Number — is a Number shows the percent of the completion of the achievement. It is a Number type, but Game Center uses only the integer part of the value.