summaryrefslogtreecommitdiffstats
path: root/android/src/ch/asynk/rustanddust/android/AndroidLauncher.java
blob: a60693e8c503432b2d56f94aaf9748aa186688c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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;
import ch.asynk.rustanddust.Backend;

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);
    }
}