Skip to content

Commit

Permalink
refactor: 软件包移位
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-shop committed May 12, 2023
1 parent a0d67cd commit 32bea43
Show file tree
Hide file tree
Showing 11 changed files with 15 additions and 15 deletions.
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.imshit.aircraftwar.element.aircraft.enemy

import net.imshit.aircraftwar.element.prop.Props
import net.imshit.aircraftwar.logic.GameEvents
import net.imshit.aircraftwar.logic.data.GameEvents
import net.imshit.aircraftwar.logic.game.Games
import net.imshit.aircraftwar.logic.generate.prop.PropGenerateStrategies

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ import net.imshit.aircraftwar.element.bullet.EnemyBullet
import net.imshit.aircraftwar.element.prop.Props
import net.imshit.aircraftwar.element.shoot.enemy.EnemyShootStrategies
import net.imshit.aircraftwar.element.shoot.enemy.EnemyShootStrategyFactory
import net.imshit.aircraftwar.logic.EnemyListener
import net.imshit.aircraftwar.logic.GameEvents
import net.imshit.aircraftwar.logic.data.EnemyListener
import net.imshit.aircraftwar.logic.data.GameEvents
import net.imshit.aircraftwar.logic.game.Games

sealed class Enemies(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package net.imshit.aircraftwar.element.bullet

import net.imshit.aircraftwar.logic.EnemyListener
import net.imshit.aircraftwar.logic.GameEvents
import net.imshit.aircraftwar.logic.data.EnemyListener
import net.imshit.aircraftwar.logic.data.GameEvents
import net.imshit.aircraftwar.logic.game.Games

class EnemyBullet(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package net.imshit.aircraftwar.element.prop

import net.imshit.aircraftwar.logic.GameEvents
import net.imshit.aircraftwar.logic.data.GameEvents
import net.imshit.aircraftwar.logic.game.Games

class BombProp(
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import com.google.android.material.textfield.TextInputLayout
import com.google.android.material.textfield.TextInputLayout.END_ICON_CLEAR_TEXT
import net.imshit.aircraftwar.R
import net.imshit.aircraftwar.databinding.ActivityGameBinding
import net.imshit.aircraftwar.logic.Difficulty
import net.imshit.aircraftwar.logic.data.Difficulty
import net.imshit.aircraftwar.logic.game.Games

class GameActivity : AppCompatActivity() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import androidx.appcompat.app.AppCompatActivity
import com.google.android.material.dialog.MaterialAlertDialogBuilder
import net.imshit.aircraftwar.R
import net.imshit.aircraftwar.databinding.ActivityMainBinding
import net.imshit.aircraftwar.logic.Difficulty
import net.imshit.aircraftwar.logic.data.Difficulty

class MainActivity : AppCompatActivity() {
override fun onCreate(savedInstanceState: Bundle?) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import android.content.Intent
import android.os.Bundle
import androidx.appcompat.app.AppCompatActivity
import net.imshit.aircraftwar.databinding.ActivityScoreboardBinding
import net.imshit.aircraftwar.logic.Difficulty
import net.imshit.aircraftwar.logic.data.Difficulty

class ScoreboardActivity : AppCompatActivity() {
companion object {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.imshit.aircraftwar.logic
package net.imshit.aircraftwar.logic.data

enum class Difficulty {
EASY, MEDIUM, HARD
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.imshit.aircraftwar.logic
package net.imshit.aircraftwar.logic.data

interface EnemyListener {
fun notify(e: GameEvents)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package net.imshit.aircraftwar.logic
package net.imshit.aircraftwar.logic.data

enum class GameEvents {
BOMB_ACTIVATE
Expand Down
6 changes: 3 additions & 3 deletions app/src/main/java/net/imshit/aircraftwar/logic/game/Games.kt
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@ import net.imshit.aircraftwar.element.bullet.Bullets
import net.imshit.aircraftwar.element.bullet.EnemyBullet
import net.imshit.aircraftwar.element.bullet.HeroBullet
import net.imshit.aircraftwar.element.prop.Props
import net.imshit.aircraftwar.logic.Difficulty
import net.imshit.aircraftwar.logic.EnemyListener
import net.imshit.aircraftwar.logic.GameEvents
import net.imshit.aircraftwar.logic.data.Difficulty
import net.imshit.aircraftwar.logic.data.EnemyListener
import net.imshit.aircraftwar.logic.data.GameEvents
import net.imshit.aircraftwar.logic.generate.enemy.EnemyGenerateStrategies
import net.imshit.aircraftwar.util.music.BasicMusicStrategy
import net.imshit.aircraftwar.util.music.BgmType
Expand Down

0 comments on commit 32bea43

Please sign in to comment.