function addLink(\ManiaLib\Gui\Element $object)
    {
        $this->manialink = $object->getManialink();
        $this->url = $object->getUrl();
        $this->maniazone = $object->getManiazone();
        $this->goto = $object->getGoto();
        $this->action = $object->getAction();
        $this->actionKey = $object->getActionKey();
        if ($object->getAddPlayerId()) {
            $this->addPlayerId = 1;
        }
    }