PHP Class PHPWarrior\Profile

Afficher le fichier Open project: yandod/php-warrior

Méthodes publiques

Свойство Type Description
$abilities array
$average_grade
$current_epic_grades array
$current_epic_score
$epic boolean
$epic_score
$last_level_number integer
$level_number integer
$player_path
$score
$tower
$tower_path string
$warrior_name

Méthodes publiques

Méthode Description
__ToString ( )
calculate_average_grade ( )
current_level ( ) : Level The current level.
decode ( $str ) : mixed Decode a string.
directory_name ( ) : mixed The directory name
enable_epic_mode ( )
enable_normal_mode ( )
encode ( $obj )
epic_score_with_grade ( ) : string Epic score with grade.
is_epic ( )
is_level_after_epic ( )
load ( $path ) : mixed load
next_level ( ) : Level The next level.
player_path ( ) : string The pad to the player.php file.
save ( ) Save
tower ( ) : Tower Tower.
update_epic_score ( )

Method Details

__ToString() public méthode

public __ToString ( )

calculate_average_grade() public méthode

current_level() public méthode

The current level.
public current_level ( ) : Level
Résultat Level

decode() public static méthode

Decode a string.
public static decode ( $str ) : mixed
$str
Résultat mixed

directory_name() public méthode

The directory name
public directory_name ( ) : mixed
Résultat mixed

enable_epic_mode() public méthode

public enable_epic_mode ( )

enable_normal_mode() public méthode

public enable_normal_mode ( )

encode() public static méthode

public static encode ( $obj )

epic_score_with_grade() public méthode

Epic score with grade.
public epic_score_with_grade ( ) : string
Résultat string

is_epic() public méthode

public is_epic ( )

is_level_after_epic() public méthode

public is_level_after_epic ( )

load() public static méthode

load
public static load ( $path ) : mixed
$path
Résultat mixed

next_level() public méthode

The next level.
public next_level ( ) : Level
Résultat Level

player_path() public méthode

The pad to the player.php file.
public player_path ( ) : string
Résultat string

save() public méthode

Save
public save ( )

tower() public méthode

Tower.
public tower ( ) : Tower
Résultat Tower

update_epic_score() public méthode

public update_epic_score ( )

Property Details

$abilities public_oe property

public array $abilities
Résultat array

$average_grade public_oe property

public $average_grade

$current_epic_grades public_oe property

public array $current_epic_grades
Résultat array

$current_epic_score public_oe property

public $current_epic_score

$epic public_oe property

public bool $epic
Résultat boolean

$epic_score public_oe property

public $epic_score

$last_level_number public_oe property

public int $last_level_number
Résultat integer

$level_number public_oe property

public int $level_number
Résultat integer

$player_path public_oe property

public $player_path

$score public_oe property

public $score

$tower public_oe property

public $tower

$tower_path public_oe property

public string $tower_path
Résultat string

$warrior_name public_oe property

public $warrior_name