NightOwlGameBadgeRules Class Reference

Inheritance diagram for NightOwlGameBadgeRules:
GameBadgeRules

Static Public Member Functions

static getPassiveDisplayLabel ($value)
static badgeGradeUserShouldHaveByPointsAndScores ($userPointsByType, $userScoresByType)

Static Public Attributes

static $valuesIndexedByGrade

Detailed Description

Class for defining the badge associated with logging in at night

Definition at line 40 of file NightOwlGameBadgeRules.php.


Member Function Documentation

static badgeGradeUserShouldHaveByPointsAndScores ( userPointsByType,
userScoresByType 
) [static]
Parameters:
array $userPointsByType
array $userScoresByType
Returns:
int|string

Reimplemented from GameBadgeRules.

Definition at line 69 of file NightOwlGameBadgeRules.php.


Field Documentation

$valuesIndexedByGrade [static]
Initial value:
 array(
            1  => 1,
            2  => 10,
            3  => 25,
            4  => 50,
            5  => 75,
            6  => 100,
            7  => 125,
            8  => 150,
            9  => 175,
            10 => 200,
            11 => 225,
            12 => 250,
            13 => 300
        )

Definition at line 42 of file NightOwlGameBadgeRules.php.


The documentation for this class was generated from the following file:
 All Data Structures Functions Variables
Generated on Fri May 26 07:10:28 2017