public function __construct(Creeper $creeper, Lightning $lightning = null, int $cause = self::CAUSE_LIGHTNING) { $this->entity = $creeper; $this->lightning = $lightning; $this->cause = $cause; }