Package | net.flashplusplus.Snapdragon.GameCenter |
Class | public class SDAchievement |
Inheritance | SDAchievement Object |
Property | Defined 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 |
Method | Defined By | ||
---|---|---|---|
SDAchievement(identifier:String, percentCompletion:Number)
Constructor of SDAchievement class. | SDAchievement |
identifier | property |
identifier:String
[read-only] Identifier of the achievement used by the Game Center settings in the iTunesConnect.
public function get identifier():String
percentCompletion | property |
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.
public function get percentCompletion():Number
SDAchievement | () | Constructor |
public function SDAchievement(identifier:String, percentCompletion:Number)
Constructor of SDAchievement class.
Parametersidentifier: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.
|