Class Hook


  • public final class Hook
    extends WorldObject
    Represents a Hook.
    • Method Detail

      • setInUse

        public void setInUse​(boolean inUse)
        Sets the inUse field. If the value is true, it will put a Barrier block at the location.
        Parameters:
        inUse - True, if a Barrier block should be at the location of the Hook.
      • isInUse

        public boolean isInUse()
        Gets whether it is in use. If it is false, the Killer won't be able to hook a Survivor to this Hook.
        Returns:
        True, if it is in use.
      • setAura

        public void setAura​(boolean visible)