Table of Contents
-
$battle
: mixed
-
$buffer
: mixed
-
$dateTime
: mixed
-
$dispatcher
: mixed
-
$log
: mixed
-
$navigation
: mixed
-
$response
: mixed
-
$sanitize
: mixed
-
$settings
: mixed
-
$tool
: mixed
-
$translationDomain
: mixed
-
$translationDomainNavigation
: mixed
-
$translator
: mixed
-
__construct()
: mixed
-
index()
: Response
-
setBattle()
: self
-
setBuffer()
: self
-
setSanitize()
: self
-
setTool()
: self
-
dragonPointSpend()
: mixed
-
getTranslationDomain()
: string
-
getTranslationDomainNavigation()
: string
-
newDay()
: mixed
-
recalculateDragonPoints()
: void
-
render()
: Response
-
setRace()
: mixed
-
setSpecialty()
: mixed
-
asignDragonPoints()
: mixed
-
checkHaunted()
: void
-
dragonPointsLabels()
: array<string|int, mixed>
-
generateNewGameDay()
: void
-
proccessBuffs()
: void
-
proccessTurns()
: void
-
resurrection()
: void
$battle
private
mixed
$battle
$buffer
private
mixed
$buffer
$dateTime
private
mixed
$dateTime
$dispatcher
private
mixed
$dispatcher
$log
private
mixed
$log
$navigation
private
mixed
$navigation
$response
private
mixed
$response
$sanitize
private
mixed
$sanitize
$settings
private
mixed
$settings
private
mixed
$tool
$translationDomain
private
mixed
$translationDomain
$translationDomainNavigation
private
mixed
$translationDomainNavigation
$translator
private
mixed
$translator
__construct()
public
__construct(Settings $settings, EventDispatcherInterface $eventDispatcher, TranslatorInterface $translator, DateTime $dateTime, Navigation $navigation, Response $response, Log $log) : mixed
Parameters
-
$settings
: Settings
-
-
$eventDispatcher
: EventDispatcherInterface
-
-
$translator
: TranslatorInterface
-
-
$dateTime
: DateTime
-
-
$navigation
: Navigation
-
-
$response
: Response
-
-
$log
: Log
-
Return values
mixed
—
index()
public
index(Request $request) : Response
Parameters
-
$request
: Request
-
Return values
Response
—
setBattle()
public
setBattle(Battle $battle) : self
Parameters
-
$battle
: Battle
-
-
required
-
Return values
self
—
setBuffer()
public
setBuffer(Buffer $buffer) : self
Parameters
-
$buffer
: Buffer
-
-
required
-
Return values
self
—
setSanitize()
public
setSanitize(Sanitize $sanitize) : self
Parameters
-
$sanitize
: Sanitize
-
-
required
-
Return values
self
—
public
setTool(Tool $tool) : self
Parameters
-
$tool
: Tool
-
-
required
-
Return values
self
—
dragonPointSpend()
protected
dragonPointSpend(array<string|int, mixed> $labels, array<string|int, mixed> &$params, int $dkills, int $dp, array<string|int, mixed> $canbuy, string $resline) : mixed
Parameters
-
$labels
: array<string|int, mixed>
-
-
$params
: array<string|int, mixed>
-
-
$dkills
: int
-
-
$dp
: int
-
-
$canbuy
: array<string|int, mixed>
-
-
$resline
: string
-
Return values
mixed
—
getTranslationDomain()
protected
getTranslationDomain() : string
Return values
string
—
getTranslationDomainNavigation()
protected
getTranslationDomainNavigation() : string
Return values
string
—
newDay()
protected
newDay(array<string|int, mixed> &$params, mixed $resurrection) : mixed
Parameters
-
$params
: array<string|int, mixed>
-
-
$resurrection
: mixed
-
Return values
mixed
—
recalculateDragonPoints()
protected
recalculateDragonPoints(array<string|int, mixed> $labels, int &$dp, Request $request) : void
Parameters
-
$labels
: array<string|int, mixed>
-
-
$dp
: int
-
-
$request
: Request
-
Return values
void
—
render()
protected
render(string $template[, array<string|int, mixed> $params = [] ][, Response|null $response = null ]) : Response
Parameters
-
$template
: string
-
-
$params
: array<string|int, mixed>
= []
-
-
$response
: Response|null
= null
-
Return values
Response
—
setRace()
protected
setRace(Request $request, string $resline) : mixed
Parameters
-
$request
: Request
-
-
$resline
: string
-
Return values
mixed
—
setSpecialty()
protected
setSpecialty(Request $request, string $resline) : mixed
Parameters
-
$request
: Request
-
-
$resline
: string
-
Return values
mixed
—
asignDragonPoints()
private
asignDragonPoints(Request $request) : mixed
Parameters
-
$request
: Request
-
Return values
mixed
—
checkHaunted()
private
checkHaunted(array<string|int, mixed> &$params, mixed &$turnstoday) : void
Parameters
-
$params
: array<string|int, mixed>
-
-
$turnstoday
: mixed
-
Return values
void
—
dragonPointsLabels()
private
dragonPointsLabels() : array<string|int, mixed>
Return values
array<string|int, mixed>
—
generateNewGameDay()
private
generateNewGameDay() : void
Return values
void
—
proccessBuffs()
private
proccessBuffs(array<string|int, mixed> &$params, mixed &$dkff) : void
Parameters
-
$params
: array<string|int, mixed>
-
-
$dkff
: mixed
-
Return values
void
—
proccessTurns()
private
proccessTurns(array<string|int, mixed> &$params, mixed &$dkff) : void
Parameters
-
$params
: array<string|int, mixed>
-
-
$dkff
: mixed
-
Return values
void
—
resurrection()
private
resurrection(array<string|int, mixed> &$params, mixed &$resurrectionturns, mixed &$spirits, mixed $dkff, mixed $resurrection) : void
Parameters
-
$params
: array<string|int, mixed>
-
-
$resurrectionturns
: mixed
-
-
$spirits
: mixed
-
-
$dkff
: mixed
-
-
$resurrection
: mixed
-
Return values
void
—