Fix hair, dick around with new game screen.
[18plus-7leafadventure.git] / src / org / sevenchan / dongs / screens / InfoScreen.as
blobe4fe26ea69d7562387bd4e89d7f6558bab3c53ea
1 package org.sevenchan.dongs.screens
3 import org.sevenchan.AdventureController;
4 import org.sevenchan.dongs.Screen;
6 /**
7 * ...
8 * @author Harbinger
9 */
10 public class InfoScreen extends Screen
12 public static function push(text:String):void {
13 AdventureController.screenQueue.write(new InfoScreen(text));
14 AdventureController.screenQueue.dump();
17 private var text:String;
18 public function InfoScreen(txt:String="")
20 text = txt;
21 this.appearanceButton = true;
22 this.debugMenuButton = true;
23 this.exportGameButton = true;
24 this.loadOrSaveButton = true;
25 this.newGameButton = false;
26 this.importGameButton = false;
28 clearButtons();
29 this.setButton(NEXT_BUTTON, "Next");
32 override public function processButtonPress(id:int):Boolean
34 if (id == -1) {
35 updateScreen()
36 return false;
38 return true;
41 override public function getScreenText():String
43 return text;