Class: module:sim/voters/VoterShape

module:sim/voters/VoterShape(shape2, shape1, screen, voterRegistrar, commander, changes, doLoad)

new module:sim/voters/VoterShape(shape2, shape1, screen, voterRegistrar, commander, changes, doLoad)

VoterShape class with Handle component to take care of dragging. Voronoi2D component takes care of drawing votes.
Parameters:
Name Type Description
shape2 Object
shape1 Object
screen Screen
voterRegistrar Registrar
commander Commander
changes Changes
doLoad Boolean Should we add the voter without adding to the history?
Source: