NewDayTrait
Table of Contents
-
$battle
: mixed
-
$buffer
: mixed
-
$sanitize
: mixed
-
$tool
: mixed
-
setBattle()
: self
-
setBuffer()
: self
-
setSanitize()
: self
-
setTool()
: self
-
newDay()
: mixed
-
checkHaunted()
: void
-
generateNewGameDay()
: void
-
proccessBuffs()
: void
-
proccessTurns()
: void
-
resurrection()
: void
$battle
private
mixed
$battle
$buffer
private
mixed
$buffer
$sanitize
private
mixed
$sanitize
private
mixed
$tool
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
—
newDay()
protected
newDay(array<string|int, mixed> &$params, mixed $resurrection) : mixed
Parameters
-
$params
: array<string|int, mixed>
-
-
$resurrection
: mixed
-
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
—
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
—