Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
PHPWarrior
Units
Captive
PHP Class PHPWarrior\Units\Captive
Inheritance:
extends
Base
Show file
Open project: yandod/php-warrior
Public Methods
Method
Description
__construct
( )
Class constructor.
character
( ) :
string
Character type.
max_health
( ) :
integer
Maximum health.
Method Details
__construct()
public
method
Class constructor.
public
__construct
( )
character()
public
method
Character type.
public
character
( ) :
string
return
string
max_health()
public
method
Maximum health.
public
max_health
( ) :
integer
return
integer