public void setInitial(int i) {
        if (this.initial != 0) {
            initialSet.remove(this);
        }
        this.initial = i;
        if (this.initial != 0) {
            if (GUI.player.model.settings.getInit() == InitType.no) {
                this.initial = 0;
                return;
            }
            if (GUI.player.model.settings.getInit() == InitType.one) {
                while (Vertex.initialSet.size() > 0)
                    Vertex.initialSet.first().setInitial(0);
            }
            initialSet.add(this);
        }
        randomInit.autoInitial();
    }