Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
PHPWarrior
Units
Sludge
PHP 클래스 PHPWarrior\Units\Sludge
상속:
extends
Base
파일 보기
프로젝트 열기: yandod/php-warrior
공개 메소드들
메소드
설명
__construct
( )
Class constructor.
attack_power
( ) :
integer
Your attack power.
character
( ) :
string
Your character.
max_health
( ) :
integer
Maximun health.
play_turn
(
$turn
)
Play your turn.
메소드 상세
__construct()
공개
메소드
Class constructor.
public
__construct
( )
attack_power()
공개
메소드
Your attack power.
public
attack_power
( ) :
integer
리턴
integer
character()
공개
메소드
Your character.
public
character
( ) :
string
리턴
string
max_health()
공개
메소드
Maximun health.
public
max_health
( ) :
integer
리턴
integer
play_turn()
공개
메소드
Play your turn.
public
play_turn
(
$turn
)
$turn