diff --git a/src/main/java/com/yaohun/enderdragonWars/effectevent/BomBomEffect.java b/src/main/java/com/yaohun/enderdragonWars/effectevent/BomBomEffect.java new file mode 100644 index 0000000..1d86797 --- /dev/null +++ b/src/main/java/com/yaohun/enderdragonWars/effectevent/BomBomEffect.java @@ -0,0 +1,19 @@ +package com.yaohun.enderdragonWars.effectevent; + +import com.yaohun.enderdragonWars.effect.GiftEffect; +import com.yaohun.enderdragonWars.game.Game; + +public class BomBomEffect extends GiftEffect { + + public BomBomEffect(String audience) { + super(audience); + } + + @Override + public void apply(Game game) { + /* + * 参考群内视频 火山喷发 + * */ + + } +} diff --git a/src/main/java/com/yaohun/enderdragonWars/manage/GiftEffectManager.java b/src/main/java/com/yaohun/enderdragonWars/manage/GiftEffectManager.java index 434bbeb..e67b560 100644 --- a/src/main/java/com/yaohun/enderdragonWars/manage/GiftEffectManager.java +++ b/src/main/java/com/yaohun/enderdragonWars/manage/GiftEffectManager.java @@ -1,5 +1,6 @@ package com.yaohun.enderdragonWars.manage; +import com.yaohun.enderdragonWars.effectevent.BomBomEffect; import com.yaohun.enderdragonWars.effectevent.ClearInvEffect; import com.yaohun.enderdragonWars.effect.GiftEffect; import com.yaohun.enderdragonWars.effect.GiftQueue; @@ -41,6 +42,7 @@ public class GiftEffectManager { public static void registerAll() { registerGiftEffect("清理背包", ClearInvEffect::new); + registerGiftEffect("火山喷发", BomBomEffect::new); } private static void registerGiftEffect(String id, Function giftEffectGetter) {