diff options
| author | Andrew Lee <alee14498@protonmail.com> | 2022-08-05 20:17:55 -0400 |
|---|---|---|
| committer | Andrew Lee <alee14498@protonmail.com> | 2022-08-05 20:17:55 -0400 |
| commit | 19aba81bd9920c470ff258b35ef14276faa1146e (patch) | |
| tree | 2937e91c1822edaf4ad0fcaf44f8a50ecf303203 /android/build/src/com/godot/game/GodotApp.java | |
| parent | cc3ae0f86b824cec321ee7734df4daa22b81af70 (diff) | |
| download | frivolous-run-19aba81bd9920c470ff258b35ef14276faa1146e.tar.gz frivolous-run-19aba81bd9920c470ff258b35ef14276faa1146e.tar.bz2 frivolous-run-19aba81bd9920c470ff258b35ef14276faa1146e.zip | |
Finally some gameplay
Diffstat (limited to 'android/build/src/com/godot/game/GodotApp.java')
| -rw-r--r-- | android/build/src/com/godot/game/GodotApp.java | 47 |
1 files changed, 47 insertions, 0 deletions
diff --git a/android/build/src/com/godot/game/GodotApp.java b/android/build/src/com/godot/game/GodotApp.java new file mode 100644 index 0000000..c9684bc --- /dev/null +++ b/android/build/src/com/godot/game/GodotApp.java @@ -0,0 +1,47 @@ +/*************************************************************************/ +/* GodotApp.java */ +/*************************************************************************/ +/* This file is part of: */ +/* GODOT ENGINE */ +/* https://godotengine.org */ +/*************************************************************************/ +/* Copyright (c) 2007-2022 Juan Linietsky, Ariel Manzur. */ +/* Copyright (c) 2014-2022 Godot Engine contributors (cf. AUTHORS.md). */ +/* */ +/* Permission is hereby granted, free of charge, to any person obtaining */ +/* a copy of this software and associated documentation files (the */ +/* "Software"), to deal in the Software without restriction, including */ +/* without limitation the rights to use, copy, modify, merge, publish, */ +/* distribute, sublicense, and/or sell copies of the Software, and to */ +/* permit persons to whom the Software is furnished to do so, subject to */ +/* the following conditions: */ +/* */ +/* The above copyright notice and this permission notice shall be */ +/* included in all copies or substantial portions of the Software. */ +/* */ +/* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, */ +/* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF */ +/* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.*/ +/* IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY */ +/* CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, */ +/* TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE */ +/* SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */ +/*************************************************************************/ + +package com.godot.game; + +import org.godotengine.godot.FullScreenGodotApp; + +import android.os.Bundle; + +/** + * Template activity for Godot Android custom builds. + * Feel free to extend and modify this class for your custom logic. + */ +public class GodotApp extends FullScreenGodotApp { + @Override + public void onCreate(Bundle savedInstanceState) { + setTheme(R.style.GodotAppMainTheme); + super.onCreate(savedInstanceState); + } +} |
