right -> turnRight, left -> turnLeft, line -> drawLine, draw -> end, poly -> startPolygon, close -> drawPolygon