public function render(\DOMDocument $domDocument)
    {
        $domElement = $domDocument->createElement("key");
        $domElement->setAttribute("x", $this->x);
        $domElement->setAttribute("color", $this->color);
        return $domElement;
    }