( function() { function Attractor( x, y, attraction ) { this.x = x; this.y = y; } window.Attractor = Attractor; })();