パッケージ model.weapon

クラス Deathmatch

java.lang.Object
model.entity.Weapon
model.weapon.Deathmatch

public class Deathmatch extends Weapon
  • コンストラクタの詳細

    • Deathmatch

      public Deathmatch()
  • メソッドの詳細

    • setSingleTarget

      public void setSingleTarget(boolean isSingleTarget)
      Set the battlefield context.
      パラメータ:
      isSingleTarget - true if < 2 enemies (default), false if >= 2 enemies.
    • applyPassive

      public void applyPassive(StatsContainer stats, double currentTime)
      クラスからコピーされた説明: Weapon
      Applies the weapon's passive effect to the provided stats container. Called during stat compilation by Character.getEffectiveStats(double) and Character.getStructuralStats(double). Default implementation is a no-op.
      オーバーライド:
      applyPassive クラス内 Weapon
      パラメータ:
      stats - the stats container to mutate in-place
      currentTime - simulation time in seconds (for time-gated passives)