Legend of the Green Dragon

BattleStart

Table of Contents

$battleIsInitalized  : mixed
$battleIsStarted  : bool
Indicate if battle is started.
$companions  : array<string|int, mixed>
Information of companions of user.
$user  : array<string|int, mixed>
Information of user.
$userBuffs  : array<string|int, mixed>
Buffs of character.
$userSafe  : array<string|int, mixed>
Information of user without some data.
battleStart()  : self
Initialize battle.
initialize()  : self

Properties

$battleIsInitalized

private mixed $battleIsInitalized = false

$battleIsStarted

Indicate if battle is started.

private bool $battleIsStarted = false

$companions

Information of companions of user.

private array<string|int, mixed> $companions

$user

Information of user.

private array<string|int, mixed> $user

$userBuffs

Buffs of character.

private array<string|int, mixed> $userBuffs = []

$userSafe

Information of user without some data.

private array<string|int, mixed> $userSafe

Methods

battleStart()

Initialize battle.

public battleStart() : self
Return values
self

initialize()

public initialize([bool $force = false ]) : self
Parameters
$force : bool = false
Return values
self

Search results