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-17 19:39:26 +00:00
|
|
|
// Label & Button for next...
|
|
|
|
self.add({
|
|
|
|
id:"label_next", type:"TextBox",
|
2017-07-25 18:52:06 +00:00
|
|
|
x:55, y:481, width:535, align:"right",
|
2017-07-17 19:39:26 +00:00
|
|
|
text_id: "sandbox_end"
|
|
|
|
});
|
2017-07-12 21:46:38 +00:00
|
|
|
self.add({
|
|
|
|
id:"button_next", type:"Button",
|
2017-07-25 18:52:06 +00:00
|
|
|
x:605, y:485, size:"long",
|
2017-07-20 22:16:35 +00:00
|
|
|
text_id:"sandbox_end_btn",
|
2017-07-12 21:46:38 +00:00
|
|
|
message: "slideshow/scratch"
|
|
|
|
});
|
|
|
|
|
|
|
|
},
|
|
|
|
onend: function(self){
|
|
|
|
self.clear();
|
|
|
|
}
|
2017-06-28 14:53:43 +00:00
|
|
|
|
|
|
|
});
|