Search in sources :

Example 1 with PrincipleChoiceView

use of eidolons.client.cc.gui.neo.choice.PrincipleChoiceView in project Eidolons by IDemiurge.

the class HC_Controls method testFightLaunch.

private void testFightLaunch() {
    ChoiceSequence choiceSequence = new ChoiceSequence();
    choiceSequence.addView(new PrincipleChoiceView(choiceSequence, hero));
    choiceSequence.setManager(new SequenceManager() {

        @Override
        public void doneSelection() {
            Launcher.resetView(VIEWS.HC);
        }

        @Override
        public void cancelSelection() {
            Launcher.resetView(VIEWS.HC);
        }
    });
    choiceSequence.start();
// choose a dungeon freely?
// test profiles , enemy presets
// DC_Game.game.getDungeonMaster().initDungeonLevelChoice();
}
Also used : ChoiceSequence(eidolons.client.cc.gui.neo.choice.ChoiceSequence) HeroChoiceSequence(eidolons.client.cc.gui.neo.choice.HeroChoiceSequence) SequenceManager(eidolons.client.dc.SequenceManager) PrincipleChoiceView(eidolons.client.cc.gui.neo.choice.PrincipleChoiceView)

Aggregations

ChoiceSequence (eidolons.client.cc.gui.neo.choice.ChoiceSequence)1 HeroChoiceSequence (eidolons.client.cc.gui.neo.choice.HeroChoiceSequence)1 PrincipleChoiceView (eidolons.client.cc.gui.neo.choice.PrincipleChoiceView)1 SequenceManager (eidolons.client.dc.SequenceManager)1