Packagecom.myflashlab.air.extensions.googleGames
Classpublic class PlayerLevel
InheritancePlayerLevel Inheritance Object

Data object representing a level a player can obtain in the metagame. A PlayerLevel has three components: a numeric value, and a range of XP totals it represents. A player is considered a given level if they have at least minXp and less than maxXp.



Public Properties
 PropertyDefined By
  levelNumber : int
[read-only] Returns the number for this level, e.g.
PlayerLevel
  maxXp : Number
[read-only] The maximum XP value represented by this level, exclusive.
PlayerLevel
  minXp : Number
[read-only] The minimum XP value needed to attain this level, inclusive.
PlayerLevel
Property Detail
levelNumberproperty
levelNumber:int  [read-only]

Returns the number for this level, e.g. "level 10".


Implementation
    public function get levelNumber():int
maxXpproperty 
maxXp:Number  [read-only]

The maximum XP value represented by this level, exclusive.


Implementation
    public function get maxXp():Number
minXpproperty 
minXp:Number  [read-only]

The minimum XP value needed to attain this level, inclusive.


Implementation
    public function get minXp():Number