TakenDamage
in package
AbstractYes
Common outcome of weapon damage applied to any combatant.
Table of Contents
Properties
- $combatDroneDamage : int
- $hasCombatDrones : bool
- $killingShot : bool
- $numCombatDrones : int
- $targetAlreadyDead : bool
- $totalDamage : int
Methods
- __construct() : mixed
Properties
$combatDroneDamage
public
int
$combatDroneDamage
$hasCombatDrones
public
bool
$hasCombatDrones
$killingShot
public
bool
$killingShot
$numCombatDrones
public
int
$numCombatDrones
$targetAlreadyDead
public
bool
$targetAlreadyDead
$totalDamage
public
int
$totalDamage
Methods
__construct()
public
__construct(bool $killingShot, bool $targetAlreadyDead, int $combatDroneDamage, int $numCombatDrones, bool $hasCombatDrones, int $totalDamage) : mixed
Parameters
- $killingShot : bool
- $targetAlreadyDead : bool
- $combatDroneDamage : int
- $numCombatDrones : int
- $hasCombatDrones : bool
- $totalDamage : int