Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.
 All Data Structures Functions Variables Pages
Static Public Member Functions | Static Protected Attributes
GameLevelRules Class Reference
Inheritance diagram for GameLevelRules:
GeneralGameLevelRules SubLevelGameLevelRules AccountManagementGameLevelRules CommunicationGameLevelRules NewBusinessGameLevelRules SalesGameLevelRules TimeManagementGameLevelRules

Static Public Member Functions

static setLastLevel ($level)
 
static setLevelPointMap ($levelPointMap)
 
static isLastLevel ($level)
 
static getMinimumPointsForLevel ($level)
 
static hasBonusPointsOnLevelChange ()
 
static getLevelBonusPointType ()
 
static getLevelBonusPointValue ($level)
 
static getDisplayLabel ()
 

Static Protected Attributes

static $lastLevel = null
 
static $levelPointMap = array()
 

Detailed Description

Base class defining rules for game levels

Definition at line 40 of file GameLevelRules.php.

Member Function Documentation

static setLastLevel (   $level)
static

Can be used by application component to override and set last level value.

Parameters
integer$level

Definition at line 58 of file GameLevelRules.php.

static setLevelPointMap (   $levelPointMap)
static

Can be used by application component to override and set level point map.

Parameters
array$levelPointMap

Definition at line 68 of file GameLevelRules.php.

static isLastLevel (   $level)
static
Parameters
integer$level
Returns
bool

Definition at line 78 of file GameLevelRules.php.

static getMinimumPointsForLevel (   $level)
static
Parameters
integer$level
Returns
mixed
Exceptions
NotSupportedException

Definition at line 93 of file GameLevelRules.php.

static getLevelBonusPointType ( )
static

Override in child if you want to have bonus points. This will define what point type the bonus points are applied towards

Definition at line 112 of file GameLevelRules.php.

static getLevelBonusPointValue (   $level)
static

Override in child if you want to have bonus points. This will return the bonus points applicable given a $level

Parameters
int$level
Exceptions
NotImplementedException

Definition at line 123 of file GameLevelRules.php.

static getDisplayLabel ( )
static

Override in child to have a display label for the type of level.

Definition at line 132 of file GameLevelRules.php.


The documentation for this class was generated from the following file:
Generated on Fri Dec 4 2020 07:10:46
Account Suspended
Account Suspended
This Account has been suspended.
Contact your hosting provider for more information.