summaryrefslogtreecommitdiff
path: root/js/Misc/BOUNCE.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/Misc/BOUNCE.js')
-rw-r--r--js/Misc/BOUNCE.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/js/Misc/BOUNCE.js b/js/Misc/BOUNCE.js
index b9ff94bb..4ff83082 100644
--- a/js/Misc/BOUNCE.js
+++ b/js/Misc/BOUNCE.js
@@ -140,4 +140,18 @@ function BOUNCE() {
BOUNCE.prototype.get_popup_title = function BOUNCE() {
return this.set_param_popup_title;
}
+ BOUNCE.prototype.importset = function BOUNCE() {
+ var graphics = this.x.graphics;
+ var ary = getData(graphics.exprs);
+ this.rpar1 = ary[0];
+ this.rpar2 = ary[1];
+ this.walls = ary[2];
+ this.xt = ary[3];
+ this.xd = ary[4];
+ this.y = ary[5];
+ this.yd = ary[6];
+ this.g = ary[7];
+ this.C = ary[8];
+ }
+ BOUNCE.prototype.getContainer = function BOUNCE() { return new BasicBlock(this.x); }
}