// Poll

class Poll {
  String textString;
  
  Poll(String... args) {
    textString = "";
    int optionCount = 1;
    for (String arg : args) {
      textString += (optionCount++) + " - " + arg + "\n";
    }
  }
  
  void draw() {
    pushMatrix();
    translate(camera.x-width*0.5+(1-camera.zoom)*width*0.5,camera.y-height*0.5+(1-camera.zoom)*height*0.5);
    //translate(camera.x-width*0.5,camera.y-height*0.5);
    //scale(camera.zoom);
    textAlign(LEFT, TOP);
    textSize(42*camera.zoom);
    fill(0, 200);
    text(textString, 22,22);
    fill(250);
    text(textString, 20,20);
    popMatrix();
  }
  
}
