Если перед началом игры настроить прогноз на одну фигуру, вылетает NPE:
Exception in thread "main" java.lang.NullPointerException
at com.foxcatgames.boggarton.game.AbstractGame.nextFigure(AbstractGame.java:92)
at com.foxcatgames.boggarton.game.MultiplayerGame.processStage(MultiplayerGame.java:50)
at com.foxcatgames.boggarton.scenes.AbstractMultiplayerGame.changes(AbstractMultiplayerGame.java:101)
at com.foxcatgames.boggarton.scenes.TwoPlayersDemo.changes(TwoPlayersDemo.java:43)
at com.foxcatgames.boggarton.scenes.AbstractScene.renderScene(AbstractScene.java:55)
at com.foxcatgames.boggarton.scenes.AbstractScene.run(AbstractScene.java:66)
at com.foxcatgames.boggarton.scenes.AbstractScene.play(AbstractScene.java:45)
at com.foxcatgames.boggarton.Boggarton.run(Boggarton.java:11)
at com.foxcatgames.boggarton.Boggarton.main(Boggarton.java:16)
Если перед началом игры настроить прогноз на одну фигуру, вылетает NPE:
Exception in thread "main" java.lang.NullPointerException at com.foxcatgames.boggarton.game.AbstractGame.nextFigure(AbstractGame.java:92) at com.foxcatgames.boggarton.game.MultiplayerGame.processStage(MultiplayerGame.java:50) at com.foxcatgames.boggarton.scenes.AbstractMultiplayerGame.changes(AbstractMultiplayerGame.java:101) at com.foxcatgames.boggarton.scenes.TwoPlayersDemo.changes(TwoPlayersDemo.java:43) at com.foxcatgames.boggarton.scenes.AbstractScene.renderScene(AbstractScene.java:55) at com.foxcatgames.boggarton.scenes.AbstractScene.run(AbstractScene.java:66) at com.foxcatgames.boggarton.scenes.AbstractScene.play(AbstractScene.java:45) at com.foxcatgames.boggarton.Boggarton.run(Boggarton.java:11) at com.foxcatgames.boggarton.Boggarton.main(Boggarton.java:16)