Skip to content

Commit

Permalink
feat: 更新射击策略抽象类
Browse files Browse the repository at this point in the history
  • Loading branch information
Jim-shop committed May 10, 2023
1 parent 24c38e4 commit 2d7ff31
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
package net.imshit.aircraftwar.element.shoot

import net.imshit.aircraftwar.element.bullet.AbstractBullet
import net.imshit.aircraftwar.logic.Games

interface ShootStrategy {
fun shoot(x: Float, y: Float, speedY: Float, power: Int): List<AbstractBullet>
fun shoot(game: Games, x: Float, y: Float, speedY: Float, power: Int): List<AbstractBullet>
}

0 comments on commit 2d7ff31

Please sign in to comment.