Class Hatch


  • public final class Hatch
    extends WorldObject
    Represents the Hatch.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isOpen()
      Checks if this Hatch is open.
      boolean wasClosed()
      Checks if this Hatch was closed by the Killer at least once.
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isOpen

        public boolean isOpen()
        Checks if this Hatch is open.
        Returns:
        True, if the Hatch is open.
      • wasClosed

        public boolean wasClosed()
        Checks if this Hatch was closed by the Killer at least once.
        Returns:
        True if the Hatch was closed by the Killer.