39 lines
No EOL
1.5 KiB
Java
39 lines
No EOL
1.5 KiB
Java
/*
|
|
1010! Klooni, a free customizable puzzle game for Android and Desktop
|
|
Copyright (C) 2017 Lonami Exo | LonamiWebs
|
|
|
|
This program is free software: you can redistribute it and/or modify
|
|
it under the terms of the GNU General Public License as published by
|
|
the Free Software Foundation, either version 3 of the License, or
|
|
(at your option) any later version.
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
GNU General Public License for more details.
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
*/
|
|
package io.github.lonamiwebs.klooni;
|
|
|
|
import org.robovm.apple.foundation.NSAutoreleasePool;
|
|
import org.robovm.apple.uikit.UIApplication;
|
|
|
|
import com.badlogic.gdx.backends.iosrobovm.IOSApplication;
|
|
import com.badlogic.gdx.backends.iosrobovm.IOSApplicationConfiguration;
|
|
import io.github.lonamiwebs.klooni.Klooni;
|
|
|
|
class IOSLauncher extends IOSApplication.Delegate {
|
|
@Override
|
|
protected IOSApplication createApplication() {
|
|
IOSApplicationConfiguration config = new IOSApplicationConfiguration();
|
|
return new IOSApplication(new Klooni(null), config);
|
|
}
|
|
|
|
public static void main(String[] argv) {
|
|
NSAutoreleasePool pool = new NSAutoreleasePool();
|
|
UIApplication.main(argv, null, IOSLauncher.class);
|
|
pool.close();
|
|
}
|
|
} |