ncase.me-trust/js/slides/6_Slides_Sandbox.js

26 lines
489 B
JavaScript
Raw Normal View History

2017-06-28 14:53:43 +00:00
SLIDES.push({
2017-07-10 15:38:20 +00:00
id: "sandbox",
2017-07-12 21:24:26 +00:00
onstart: function(self){
2017-06-28 14:53:43 +00:00
// The tournament simulation
2017-07-12 21:46:38 +00:00
Tournament.resetGlobalVariables();
self.add({id:"tournament", type:"Tournament", x:-20, y:-20},);
2017-06-28 14:53:43 +00:00
// Screw it, just ALL of the Sandbox UI
2017-07-12 21:46:38 +00:00
self.add({id:"sandbox", type:"SandboxUI"});
2017-06-28 14:53:43 +00:00
2017-07-12 21:46:38 +00:00
// Button for next...
self.add({
id:"button_next", type:"Button",
x:510, y:500,
text_id:"label_next",
message: "slideshow/scratch"
});
},
onend: function(self){
self.clear();
}
2017-06-28 14:53:43 +00:00
});