PHP Class PHPWarrior\Level

Afficher le fichier Open project: yandod/php-warrior

Méthodes publiques

Свойство Type Description
$ace_score
$clue
$description
$floor
$number
$profile
$time_bonus
$tip
$warrior

Méthodes publiques

Méthode Description
__construct ( $profile, $number ) Level constructor.
clear_bonus ( )
generate_player_files ( )
grade_for ( $score ) : string
grade_letter ( $percent ) : string
is_exists ( )
is_failed ( )
is_passed ( )
load_level ( )
load_path ( )
load_player ( )
play ( $turns = 1000 )
player_path ( )
score_calculation ( $current_score, $addition ) : string
setup_warrior ( $warrior ) : mixed
tally_points ( )

Method Details

__construct() public méthode

Level constructor.
public __construct ( $profile, $number )
$profile
$number

clear_bonus() public méthode

public clear_bonus ( )

generate_player_files() public méthode

grade_for() public méthode

public grade_for ( $score ) : string
$score
Résultat string

grade_letter() public static méthode

public static grade_letter ( $percent ) : string
$percent
Résultat string

is_exists() public méthode

public is_exists ( )

is_failed() public méthode

public is_failed ( )

is_passed() public méthode

public is_passed ( )

load_level() public méthode

public load_level ( )

load_path() public méthode

public load_path ( )

load_player() public méthode

public load_player ( )

play() public méthode

public play ( $turns = 1000 )

player_path() public méthode

public player_path ( )

score_calculation() public méthode

public score_calculation ( $current_score, $addition ) : string
$current_score
$addition
Résultat string

setup_warrior() public méthode

public setup_warrior ( $warrior ) : mixed
$warrior
Résultat mixed

tally_points() public méthode

public tally_points ( )

Property Details

$ace_score public_oe property

public $ace_score

$clue public_oe property

public $clue

$description public_oe property

public $description

$floor public_oe property

public $floor

$number public_oe property

public $number

$profile public_oe property

public $profile

$time_bonus public_oe property

public $time_bonus

$tip public_oe property

public $tip

$warrior public_oe property

public $warrior