Skip to content

Commit

Permalink
refactor: 重命名
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-shop committed May 10, 2023
1 parent 3eb8062 commit bf30962
Show file tree
Hide file tree
Showing 6 changed files with 25 additions and 29 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
package net.imshit.aircraftwar.element.shoot

import net.imshit.aircraftwar.logic.Games

abstract class ShootStrategyFactories(val game: Games) {
abstract fun getStrategy(shootNum: Int): ShootStrategies
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package net.imshit.aircraftwar.element.shoot.enemy

import net.imshit.aircraftwar.element.bullet.EnemyBullet
import net.imshit.aircraftwar.element.shoot.ShootStrategies
import net.imshit.aircraftwar.logic.Games

sealed class EnemyShootStrategies(game: Games) : ShootStrategies(game = game) {
abstract override fun shoot(x: Float, y: Float, speedY: Float, power: Int): List<EnemyBullet>
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
package net.imshit.aircraftwar.element.shoot.hero

import net.imshit.aircraftwar.element.bullet.HeroBullet
import net.imshit.aircraftwar.element.shoot.ShootStrategies
import net.imshit.aircraftwar.logic.Games

sealed class HeroShootStrategies(game: Games) : ShootStrategies(game = game) {
abstract override fun shoot(x: Float, y: Float, speedY: Float, power: Int): List<HeroBullet>
}

This file was deleted.

0 comments on commit bf30962

Please sign in to comment.