PlayerFunction
Table of Contents
-
$dispatcher
: mixed
-
$repository
: CharactersRepository
-
$response
: mixed
-
$translator
: mixed
-
__construct()
: mixed
-
explainedGetPlayerAttack()
: mixed
-
explainedGetPlayerDefense()
: mixed
-
explainedGetPlayerHitpoints()
: mixed
-
explainedRowGetPlayerAttack()
: mixed
-
explainedRowGetPlayerDefense()
: mixed
-
getPlayerAttack()
: mixed
-
getPlayerDefense()
: mixed
-
getPlayerHitpoints()
: mixed
-
getPlayerPhysicalResistance()
: mixed
-
getPlayerSpeed()
: mixed
-
incrementSpecialty()
: mixed
$dispatcher
private
mixed
$dispatcher
$repository
private
CharactersRepository
$repository
$response
private
mixed
$response
$translator
private
mixed
$translator
__construct()
public
__construct(EventDispatcherInterface $dispatcher, Response $response, TranslatorInterface $translator, EntityManagerInterface $repository) : mixed
Parameters
-
$dispatcher
: EventDispatcherInterface
-
-
$response
: Response
-
-
$translator
: TranslatorInterface
-
-
$repository
: EntityManagerInterface
-
Return values
mixed
—
explainedGetPlayerAttack()
public
explainedGetPlayerAttack([mixed $player = null ][, mixed $colored = false ]) : mixed
Parameters
-
$player
: mixed
= null
-
-
$colored
: mixed
= false
-
Return values
mixed
—
explainedGetPlayerDefense()
public
explainedGetPlayerDefense([mixed $player = false ][, mixed $colored = false ]) : mixed
Parameters
-
$player
: mixed
= false
-
-
$colored
: mixed
= false
-
Return values
mixed
—
explainedGetPlayerHitpoints()
public
explainedGetPlayerHitpoints([mixed $player = null ][, bool $colored = false ]) : mixed
Parameters
-
$player
: mixed
= null
-
-
$colored
: bool
= false
-
Return values
mixed
—
explainedRowGetPlayerAttack()
public
explainedRowGetPlayerAttack([mixed $player = null ]) : mixed
Parameters
-
$player
: mixed
= null
-
Return values
mixed
—
explainedRowGetPlayerDefense()
public
explainedRowGetPlayerDefense([mixed $player = false ]) : mixed
Parameters
-
$player
: mixed
= false
-
Return values
mixed
—
getPlayerAttack()
public
getPlayerAttack([mixed $player = null ]) : mixed
Parameters
-
$player
: mixed
= null
-
Return values
mixed
—
getPlayerDefense()
public
getPlayerDefense([mixed $player = null ]) : mixed
Parameters
-
$player
: mixed
= null
-
Return values
mixed
—
getPlayerHitpoints()
public
getPlayerHitpoints([mixed $player = null ]) : mixed
Parameters
-
$player
: mixed
= null
-
Return values
mixed
—
getPlayerPhysicalResistance()
public
getPlayerPhysicalResistance([mixed $player = false ]) : mixed
Parameters
-
$player
: mixed
= false
-
Return values
mixed
—
getPlayerSpeed()
public
getPlayerSpeed([mixed $player = false ]) : mixed
Parameters
-
$player
: mixed
= false
-
Return values
mixed
—
incrementSpecialty()
public
incrementSpecialty(mixed $colorcode[, string|null $spec = null ]) : mixed
Parameters
-
$colorcode
: mixed
-
-
$spec
: string|null
= null
-
Return values
mixed
—