summaryrefslogtreecommitdiffstats
path: root/android/src/ch/asynk/rustanddust/android/AndroidLauncher.java
blob: 467340b7d948838f97c0a6e4aeb0fdba9a9ce744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
package ch.asynk.rustanddust.android;

import android.os.Bundle;

import com.badlogic.gdx.backends.android.AndroidApplication;
import com.badlogic.gdx.backends.android.AndroidApplicationConfiguration;

import ch.asynk.rustanddust.RustAndDust;

public class AndroidLauncher extends AndroidApplication
{
    @Override
    protected void onCreate (Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        AndroidApplicationConfiguration config = new AndroidApplicationConfiguration();
        initialize(new RustAndDust(new AndroidBackend(this.getApplication())), config);
    }
}