x = $x; $this->y = $y; $this->z = $z; } /** * @return mixed */ public function getX() { return $this->x; } /** * @param mixed $x * @return Velocity */ public function setX($x) { $this->x = $x; return $this; } /** * @return mixed */ public function getY() { return $this->y; } /** * @param mixed $y * @return Velocity */ public function setY($y) { $this->y = $y; return $this; } /** * @return mixed */ public function getZ() { return $this->z; } /** * @param mixed $z * @return Velocity */ public function setZ($z) { $this->z = $z; return $this; } }