Skip to content
Snippets Groups Projects
Commit dd6495db authored by Matyáš Latner's avatar Matyáš Latner
Browse files

#5 Show game debug info (random seed, rule type)

parent fe23da7b
Branches
Tags
No related merge requests found
......@@ -216,6 +216,10 @@ public class RobberyScreen extends AbstractTablexiaScreen<GameRule> {
GameRule gameRule = rule.getGameRuleInstance(randomAccess, CREATURES_COUNT, THIEVES_COUNT);
gameRule.generateCreatures();
//TODO move to abstract game
printScreenInfo("Random Seed", "" + gameRule.getRandomAccess().getRandomSeed());
printScreenInfo("Game Rule", gameRule.getGameRuleDefinition().name());
return gameRule;
}
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment