fixed start screen

This commit is contained in:
Garrett Finucane 2014-05-31 20:17:00 -04:00
parent 04aaa6bc45
commit 3a03104c53

View file

@ -1,7 +1,9 @@
var prevGameState; var prevGameState;
function showText(text){ function showText(text){
var messages = { var messages = {
'paused':"<div class='centeredHeader unselectable'>Paused</div><br><div class='unselectablecenteredSubHeader'>Press p to resume</div>" 'paused':"<div class='centeredHeader unselectable'>Paused</div><br><div class='unselectablecenteredSubHeader'>Press p to resume</div>",
'start':"<div class='centeredHeader unselectable' >Press enter to start</div>"
} }
var pt = document.getElementById("overlay"); var pt = document.getElementById("overlay");
pt.className = ''; pt.className = '';