Package org.kikikan.deadbymoonlight.game
Class Hook
- java.lang.Object
-
- org.kikikan.deadbymoonlight.game.WorldObject
-
- org.kikikan.deadbymoonlight.game.Hook
-
public final class Hook extends WorldObject
Represents a Hook.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isInUse()
Gets whether it is in use.void
setAura(boolean visible)
void
setInUse(boolean inUse)
Sets the inUse field.-
Methods inherited from class org.kikikan.deadbymoonlight.game.WorldObject
equals, getGame, getLocation, hashCode
-
-
-
-
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)
-
-