Verified Commit 4c9265d3 authored by Lars Mitsem Selbekk's avatar Lars Mitsem Selbekk
Browse files

Rename package to se.battlegoose.battlegoose

parent b39772af
Pipeline #167473 passed with stages
in 3 minutes and 2 seconds
<?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.progark.battlegoose" >
package="se.battlegoo.battlegoose" >
<application
android:allowBackup="true"
......@@ -10,10 +10,11 @@
android:label="@string/app_name"
android:theme="@style/GdxTheme" >
<activity
android:name="com.progark.battlegoose.AndroidLauncher"
android:name="se.battlegoo.battlegoose.AndroidLauncher"
android:label="@string/app_name"
android:screenOrientation="landscape"
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|screenLayout">
android:configChanges="keyboard|keyboardHidden|navigation|orientation|screenSize|screenLayout"
android:exported="true">
<intent-filter>
<action android:name="android.intent.action.MAIN" />
<category android:name="android.intent.category.LAUNCHER" />
......
......@@ -17,7 +17,7 @@ android {
exclude 'META-INF/robovm/ios/robovm.xml'
}
defaultConfig {
applicationId "com.progark.battlegoose"
applicationId "se.battlegoo.battlegoose"
minSdkVersion 21
targetSdkVersion 32
versionCode 1
......@@ -86,7 +86,7 @@ task run(type: Exec) {
}
def adb = path + "/platform-tools/adb"
commandLine "$adb", 'shell', 'am', 'start', '-n', 'com.progark.battlegoose/com.progark.battlegoose.AndroidLauncher'
commandLine "$adb", 'shell', 'am', 'start', '-n', 'se.battlegoo.battlegoose/se.battlegoo.battlegoose.AndroidLauncher'
}
eclipse.project.name = appName + "-android"
package com.progark.battlegoose
package se.battlegoo.battlegoose
import com.badlogic.gdx.backends.android.AndroidApplication
import android.os.Bundle
......@@ -10,4 +10,4 @@ class AndroidLauncher : AndroidApplication() {
val config = AndroidApplicationConfiguration()
initialize(Game(), config)
}
}
\ No newline at end of file
}
package com.progark.battlegoose
package se.battlegoo.battlegoose
import com.badlogic.gdx.ApplicationAdapter
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.g2d.SpriteBatch
import com.badlogic.gdx.utils.ScreenUtils
import gamestates.GameStateManager
import gamestates.MainMenuState
import se.battlegoo.battlegoose.gamestates.GameStateManager
import se.battlegoo.battlegoose.gamestates.MainMenuState
class Game : ApplicationAdapter() {
private lateinit var batch: SpriteBatch
......@@ -27,4 +27,4 @@ class Game : ApplicationAdapter() {
}
}
\ No newline at end of file
}
package gamestates
package se.battlegoo.battlegoose.gamestates
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.Texture
......@@ -20,4 +20,4 @@ class BattleState : GameState() {
override fun dispose() {
texture.dispose()
}
}
\ No newline at end of file
}
package gamestates
package se.battlegoo.battlegoose.gamestates
import com.badlogic.gdx.graphics.g2d.SpriteBatch
......@@ -7,4 +7,4 @@ abstract class GameState {
abstract fun render(sb: SpriteBatch)
abstract fun dispose()
}
\ No newline at end of file
}
package gamestates
package se.battlegoo.battlegoose.gamestates
import com.badlogic.gdx.graphics.g2d.SpriteBatch
import java.util.*
......@@ -30,4 +30,4 @@ object GameStateManager {
fun render(sb: SpriteBatch) {
states.peek().render(sb)
}
}
\ No newline at end of file
}
package gamestates
package se.battlegoo.battlegoose.gamestates
import com.badlogic.gdx.graphics.g2d.SpriteBatch
......@@ -14,4 +14,4 @@ class LeaderboardState : GameState() {
override fun dispose() {
TODO("Not yet implemented")
}
}
\ No newline at end of file
}
package gamestates
package se.battlegoo.battlegoose.gamestates
import com.badlogic.gdx.Gdx
import com.badlogic.gdx.graphics.Texture
......@@ -34,4 +34,4 @@ class MainMenuState
}
}
\ No newline at end of file
}
package gamestates
package se.battlegoo.battlegoose.gamestates
import com.badlogic.gdx.graphics.g2d.SpriteBatch
......
......@@ -2,7 +2,7 @@ sourceCompatibility = 1.7
sourceSets.main.java.srcDirs = [ "src/" ]
sourceSets.main.resources.srcDirs = ["../android/assets"]
project.ext.mainClassName = "com.progark.battlegoose.desktop.DesktopLauncher"
project.ext.mainClassName = "se.battlegoo.battlegoose.desktop.DesktopLauncher"
project.ext.assetsDir = new File("../android/assets")
task run(dependsOn: classes, type: JavaExec) {
......
package com.progark.battlegoose.desktop
package se.battlegoo.battlegoose.desktop
import kotlin.jvm.JvmStatic
import com.badlogic.gdx.backends.lwjgl.LwjglApplicationConfiguration
import com.badlogic.gdx.backends.lwjgl.LwjglApplication
import com.progark.battlegoose.Game
import se.battlegoo.battlegoose.Game
object DesktopLauncher {
@JvmStatic
......@@ -11,4 +11,4 @@ object DesktopLauncher {
val config = LwjglApplicationConfiguration()
LwjglApplication(Game(), config)
}
}
\ No newline at end of file
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment