use of ultima.BookScreen in project ultimate-java by pantinor.
the class ScreenTest method create.
@Override
public void create() {
Skin skin = new Skin(Gdx.files.internal("assets/skin/uiskin.json"));
SaveGame sg = new SaveGame();
try {
sg.read(Constants.PARTY_SAV_BASE_FILENAME);
} catch (Exception e) {
e.printStackTrace();
}
Party party = new Party(sg);
party.getMember(0).getPlayer().mp = 999;
for (Constants.Spell sp : Constants.Spell.values()) {
party.getSaveGame().mixtures[sp.ordinal()] = 99;
}
sg.reagents = new int[] { 90, 93, 94, 90, 90, 90, 90, 90 };
// setScreen(new MixtureScreen(null, null, skin, party));
setScreen(new BookScreen(null, null, skin));
}
Aggregations