public function __construct(Level $level, int $weather, int $duration) { parent::__construct($level); $this->weather = $weather; $this->duration = $duration; }