public TextScreen(final TextScreenSequence sequence, final Pantext text) { this.sequence = sequence; this.text = text; if (text.getLinesPerPage() <= 0) { // scrollPage is a no-op with 0 signs per page, breaks any-key advancing through text text.setLinesPerPage(1); } // Can't add to room in constructor, Panscreen.set will clear it; must do in init // Pangame.getGame().getCurrentRoom().addActor(text); }