Skip to content

Commit a940441

Browse files
committed
fix java classes
1 parent 645ca9d commit a940441

File tree

5 files changed

+10
-12
lines changed

5 files changed

+10
-12
lines changed

publish/gdx-setup.jar

-12 Bytes
Binary file not shown.

res/com/badlogic/gdx/setup/resources/android/src/AndroidLauncher

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -72,10 +72,10 @@ public class AndroidLauncher extends AndroidApplication implements AdsListener {
7272
// Create libgdx view
7373
View gameView = super.initializeForView(
7474
new %MAIN_CLASS%(
75-
deviceId,
76-
secretKey,
77-
this,
78-
new PurchaseManagerGoogleBilling(this)
75+
deviceId,
76+
secretKey,
77+
this,
78+
new PurchaseManagerGoogleBilling(this)
7979
),
8080
new AndroidApplicationConfiguration()
8181
);
@@ -124,10 +124,10 @@ public class AndroidLauncher extends AndroidApplication implements AdsListener {
124124

125125
// Add AdMob into layout
126126
layout.addView(
127-
this.adView,
128-
new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT) {{
129-
super.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
130-
}}
127+
this.adView,
128+
new RelativeLayout.LayoutParams(ViewGroup.LayoutParams.WRAP_CONTENT, ViewGroup.LayoutParams.WRAP_CONTENT) {{
129+
super.addRule(RelativeLayout.ALIGN_PARENT_BOTTOM);
130+
}}
131131
);
132132

133133
// Hook it all up

res/com/badlogic/gdx/setup/resources/core/src/MainClass

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import com.kendao.libgdx.storage.CustomPreferences;
1919
import java.util.HashMap;
2020

2121
public class %MAIN_CLASS% extends ApplicationAdapter implements CustomGameListener {
22-
private HashMap<Class, Object> instances = new HashMap(); // for Dependency Injection
22+
private final HashMap<Class, Object> instances = new HashMap(); // for Dependency Injection
2323

2424
private final String deviceId; // is UNIQUE
2525
private final String secretKey; // key generated based on the application's keystore

res/com/badlogic/gdx/setup/resources/core/src/screen/main/MainScreen

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import %PACKAGE%.%MAIN_CLASS%;
88
import %PACKAGE%.enumerable.Assets;
99
import %PACKAGE%.enumerable.Purchases;
1010
import com.kendao.libgdx.payment.base.CustomPurchaseManager;
11-
import com.kendao.libgdx.screen.base.CustomBaseScreen;
1211
import com.kendao.libgdx.scenes.scene2d.ui.CustomImageButton;
1312
import com.kendao.libgdx.scenes.scene2d.ui.CustomTextButton;
1413
import com.kendao.libgdx.scenes.scene2d.ui.CustomToast;
14+
import com.kendao.libgdx.screen.base.CustomBaseScreen;
1515

1616
public class MainScreen extends CustomBaseScreen {
1717
private CustomImageButton image;

res/com/badlogic/gdx/setup/resources/core/src/screen/splash/SplashScreen

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,7 @@
11
package %PACKAGE%.screen.splash;
22

33
import com.badlogic.gdx.graphics.Color;
4-
import com.badlogic.gdx.graphics.g2d.BitmapFont;
54
import com.badlogic.gdx.scenes.scene2d.actions.Actions;
6-
import com.badlogic.gdx.scenes.scene2d.ui.Label;
75
import com.badlogic.gdx.utils.Align;
86
import %PACKAGE%.%MAIN_CLASS%;
97
import %PACKAGE%.enumerable.Preferences;

0 commit comments

Comments
 (0)