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 2d7ff31 commit 581b611
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,14 +1,13 @@
package net.imshit.aircraftwar.element.aircraft.hero

import net.imshit.aircraftwar.element.aircraft.AbstractAircraft
import net.imshit.aircraftwar.element.shoot.AbstractShootStrategyFactory
import net.imshit.aircraftwar.element.shoot.hero.HeroShootStrategyFactory
import net.imshit.aircraftwar.logic.Games

class HeroAircraft private constructor(
game: Games,
maxHp: Int,
power: Int,
shootStrategyFactory: AbstractShootStrategyFactory,
shootNum: Int
) : AbstractAircraft(
game = game,
Expand All @@ -18,7 +17,7 @@ class HeroAircraft private constructor(
speedY = 0f,
maxHp = maxHp,
power = power,
shootStrategyFactory = shootStrategyFactory,
shootStrategyFactory = HeroShootStrategyFactory(),
shootNum = shootNum
) {
override val image = game.images.aircraftHero
Expand Down

0 comments on commit 581b611

Please sign in to comment.