diff options
Diffstat (limited to 'bounds2/attractor.js')
-rw-r--r-- | bounds2/attractor.js | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/bounds2/attractor.js b/bounds2/attractor.js new file mode 100644 index 0000000..6531324 --- /dev/null +++ b/bounds2/attractor.js @@ -0,0 +1,10 @@ +( function() { + +function Attractor( x, y, attraction ) { + this.x = x; + this.y = y; +} + +window.Attractor = Attractor; + +})(); |