getVisibleProperty($this->noticesProperties); } /** * Set the notices visibility * * @api * @param bool $visible If the notices should be visible * @return static */ public function setNoticesVisible($visible) { $this->setVisibleProperty($this->noticesProperties, $visible); return $this; } /** * Get the crosshair visibility * * @api * @return bool */ public function getCrosshairVisible() { return $this->getVisibleProperty($this->crosshairProperties); } /** * Set the crosshair visibility * * @api * @param bool $visible If the crosshair should be visible * @return static */ public function setCrosshairVisible($visible) { $this->setVisibleProperty($this->crosshairProperties, $visible); return $this; } /** * Get the gauges visibility * * @api * @return bool */ public function getGaugesVisible() { return $this->getVisibleProperty($this->gaugesProperties); } /** * Set the gauges visibility * * @api * @param bool $visible If the gauges should be visible * @return static */ public function setGaugesVisible($visible) { $this->setVisibleProperty($this->gaugesProperties, $visible); return $this; } /** * Get the consumables visibility * * @api * @return bool */ public function getConsumablesVisible() { return $this->getVisibleProperty($this->consumablesProperties); } /** * Set the consumables visibility * * @api * @param bool $visible If the consumables should be visible * @return static */ public function setConsumablesVisible($visible) { $this->setVisibleProperty($this->consumablesProperties, $visible); return $this; } /** * @see UIProperties::getProperties() */ protected function getProperties() { return array_merge(parent::getProperties(), array( "notices" => $this->noticesProperties, "crosshair" => $this->crosshairProperties, "gauges" => $this->gaugesProperties, "consumables" => $this->consumablesProperties )); } }