ncase.me-trust/js/slides/7_Slides_Sandbox.js
2017-07-20 18:16:35 -04:00

31 lines
No EOL
637 B
JavaScript

SLIDES.push({
id: "sandbox",
onstart: function(self){
// The tournament simulation
Tournament.resetGlobalVariables();
self.add({id:"tournament", type:"Tournament", x:-20, y:-20},);
// Screw it, just ALL of the Sandbox UI
self.add({id:"sandbox", type:"SandboxUI"});
// Label & Button for next...
self.add({
id:"label_next", type:"TextBox",
x:40, y:481, width:550, align:"right",
text_id: "sandbox_end"
});
self.add({
id:"button_next", type:"Button",
x:605, y:465, size:"long",
text_id:"sandbox_end_btn",
message: "slideshow/scratch"
});
},
onend: function(self){
self.clear();
}
});