public __construct ( |
||
$combustee | ||
$duration | integer | |
$ProtectLevel | integer |
public function __construct(Entity $combustee, $duration, $ProtectLevel = 0)
{
$this->entity = $combustee;
$this->duration = $duration;
$this->ProtectLevel = $ProtectLevel;
}
/** * @param Entity $combuster * @param Entity $combustee * @param int $duration */ public function __construct(Entity $combuster, Entity $combustee, $duration) { parent::__construct($combustee, $duration); $this->combuster = $combuster; }