2014-07-27 13:39:07 +00:00
|
|
|
/*
|
|
|
|
* Pixel Dungeon
|
|
|
|
* Copyright (C) 2012-2014 Oleg Dolya
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU General Public License as published by
|
|
|
|
* the Free Software Foundation, either version 3 of the License, or
|
|
|
|
* (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>
|
|
|
|
*/
|
2014-08-03 18:46:22 +00:00
|
|
|
package com.shatteredpixel.shatteredpixeldungeon.scenes;
|
2014-07-27 13:39:07 +00:00
|
|
|
|
|
|
|
import com.watabou.noosa.Game;
|
2014-08-03 18:46:22 +00:00
|
|
|
import com.shatteredpixel.shatteredpixeldungeon.windows.WndStory;
|
2014-07-27 13:39:07 +00:00
|
|
|
|
|
|
|
public class IntroScene extends PixelScene {
|
|
|
|
|
|
|
|
private static final String TEXT =
|
|
|
|
"Many heroes of all kinds ventured into the Dungeon before you. Some of them have returned with treasures and magical " +
|
|
|
|
"artifacts, most have never been heard of since. But none have succeeded in retrieving the Amulet of Yendor, " +
|
|
|
|
"which is told to be hidden in the depths of the Dungeon.\n\n" +
|
|
|
|
"" +
|
|
|
|
"You consider yourself ready for the challenge, but most importantly, you feel that fortune smiles on you. " +
|
|
|
|
"It's time to start your own adventure!";
|
|
|
|
|
|
|
|
@Override
|
|
|
|
public void create() {
|
|
|
|
super.create();
|
|
|
|
|
|
|
|
add( new WndStory( TEXT ) {
|
|
|
|
@Override
|
|
|
|
public void hide() {
|
|
|
|
super.hide();
|
|
|
|
Game.switchScene( InterlevelScene.class );
|
|
|
|
}
|
|
|
|
} );
|
|
|
|
|
|
|
|
fadeIn();
|
|
|
|
}
|
|
|
|
}
|