You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
633 B
JavaScript
31 lines
633 B
JavaScript
7 years ago
|
SLIDES.push({
|
||
|
|
||
7 years ago
|
id: "sandbox",
|
||
7 years ago
|
onstart: function(self){
|
||
7 years ago
|
|
||
|
// The tournament simulation
|
||
7 years ago
|
Tournament.resetGlobalVariables();
|
||
|
self.add({id:"tournament", type:"Tournament", x:-20, y:-20},);
|
||
7 years ago
|
|
||
|
// Screw it, just ALL of the Sandbox UI
|
||
7 years ago
|
self.add({id:"sandbox", type:"SandboxUI"});
|
||
7 years ago
|
|
||
7 years ago
|
// Label & Button for next...
|
||
|
self.add({
|
||
|
id:"label_next", type:"TextBox",
|
||
|
x:14, y:481, width:800, align:"right",
|
||
|
text_id: "sandbox_end"
|
||
|
});
|
||
7 years ago
|
self.add({
|
||
|
id:"button_next", type:"Button",
|
||
7 years ago
|
x:831, y:465, size:"short",
|
||
7 years ago
|
text_id:"label_next",
|
||
|
message: "slideshow/scratch"
|
||
|
});
|
||
|
|
||
|
},
|
||
|
onend: function(self){
|
||
|
self.clear();
|
||
|
}
|
||
7 years ago
|
|
||
|
});
|