Skip to content
This repository has been archived by the owner on Nov 13, 2022. It is now read-only.

Commit

Permalink
-- Upgrade libraries
Browse files Browse the repository at this point in the history
  • Loading branch information
Torbuntu committed Feb 14, 2021
1 parent 9f1805e commit bf36a41
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 23 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ allprojects {
ext {
appName = 'Leikr'

mini2DxVersion = '2.0.0-alpha.42'
mini2DxVersion = '2.0.0-alpha.44'
groovyVersion = '4.0.0-alpha-2'
gdxVersion = '1.9.13'
lwjglVersion = '3.2.3'
Expand Down
40 changes: 18 additions & 22 deletions core/src/main/java/leikr/screens/NewProgramScreen.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,36 +40,15 @@
public class NewProgramScreen extends BasicGameScreen {

public static int ID = 5;
private static GeneratorStep generatorStep;
String prompt;
String name;
String template;
String errorMessage;

private String newLocation;
private final FitViewport viewport;

private final NewProgramGenerator generator;

protected enum GeneratorStep {
NAME,
TEMPLATE,
TITLE,
TYPE,
AUTHOR,
VERSION,
PLAYERS,
ABOUT,
MAX_SPRITES,
COMPILE_SOURCE,
USE_COMPILED,
CREATE,
FINISHED,
BACK,
ERROR
}

private static GeneratorStep generatorStep;

public NewProgramScreen(FitViewport vp, GameRuntime runtime) {
viewport = vp;
generator = new NewProgramGenerator(runtime);
Expand Down Expand Up @@ -297,5 +276,22 @@ void progressStep() {
public int getId() {
return ID;
}
protected enum GeneratorStep {
NAME,
TEMPLATE,
TITLE,
TYPE,
AUTHOR,
VERSION,
PLAYERS,
ABOUT,
MAX_SPRITES,
COMPILE_SOURCE,
USE_COMPILED,
CREATE,
FINISHED,
BACK,
ERROR
}

}

0 comments on commit bf36a41

Please sign in to comment.