2022-10-11 10:29:40 +01:00
|
|
|
class EndScreen {
|
|
|
|
constructor() {
|
|
|
|
screenManager.textbox = new Textbox(0,0,0,0,0,false,"#000", false, "#000", "#000");
|
|
|
|
}
|
|
|
|
|
|
|
|
draw() {
|
|
|
|
background("#eeeee4");
|
|
|
|
textSize(100);
|
|
|
|
textAlign(CENTER, CENTER);
|
|
|
|
fill(0);
|
|
|
|
text("Test Complete\nPress enter to start another test", 0, 0, windowWidth - 100, windowHeight - 100);
|
|
|
|
}
|
2022-11-11 19:54:52 +00:00
|
|
|
|
|
|
|
letterTyped() {
|
|
|
|
screenManager.setScreen(new StartScreen());
|
|
|
|
}
|
2022-10-11 10:29:40 +01:00
|
|
|
}
|