|
|
@ -167,6 +167,7 @@ Q.scene('endGame',function(stage) {
|
|
|
|
x: Q.width/2, y: Q.height/2, fill: "rgba(0,0,0,0.5)"
|
|
|
|
x: Q.width/2, y: Q.height/2, fill: "rgba(0,0,0,0.5)"
|
|
|
|
}));
|
|
|
|
}));
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var button = container.insert(new Q.UI.Button({ x: 0, y: 0, fill: "#CCCCCC",
|
|
|
|
var button = container.insert(new Q.UI.Button({ x: 0, y: 0, fill: "#CCCCCC",
|
|
|
|
label: "Play Again" }))
|
|
|
|
label: "Play Again" }))
|
|
|
|
var label = container.insert(new Q.UI.Text({x:10, y: -10 - button.p.h,
|
|
|
|
var label = container.insert(new Q.UI.Text({x:10, y: -10 - button.p.h,
|
|
|
|