Interface HullDamageAboutToBeTakenListener

All Known Implementing Classes:
DwellerCombatPlugin, PhaseAnchor.PhaseAnchorScript

public interface HullDamageAboutToBeTakenListener
Should add this to a ship where possible instead of the engine as performance will be better.
Author:
Alex Mosolov Copyright 2019 Fractal Softworks, LLC
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    notifyAboutToTakeHullDamage(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount)
    if true is returned, the hull damage to be taken is negated.
  • Method Details

    • notifyAboutToTakeHullDamage

      boolean notifyAboutToTakeHullDamage(Object param, ShipAPI ship, org.lwjgl.util.vector.Vector2f point, float damageAmount)
      if true is returned, the hull damage to be taken is negated.
      Parameters:
      param -
      ship -
      point -
      damageAmount -
      Returns: