Make a Button to load the previous game done by the player in case if he want to do it one more time(#73)
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
Make a Button to load the previous game done by the player in case if he want to do it one more time Co-authored-by: Mat <diletomatteo@gmail.com> Reviewed-on: #73 Reviewed-by: Debucquoy Anthony <d.tonitch@gmail.com>
This commit is contained in:
@ -77,7 +77,7 @@ public class GameUI extends Group{
|
||||
_piece.setLayoutY(grid.getLayoutY() + p.getPosition().x * (SEGMENT_SIZE+SPACE_SIZE));
|
||||
}
|
||||
if(level.gameDone()){
|
||||
Controller.switchRoot(new ScreenLevelFinish());
|
||||
Controller.switchRoot(new ScreenLevelFinish(level));
|
||||
}
|
||||
}
|
||||
});
|
||||
|
Reference in New Issue
Block a user