Package de.tum.cit.fop.maze.effects
Class InvisCooldown
java.lang.Object
de.tum.cit.fop.maze.effects.Effect
de.tum.cit.fop.maze.effects.InvisCooldown
A cooldown effect for Invisibility.
Prevents the player from becoming invisible again until the duration expires.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.tum.cit.fop.maze.effects.Effect
getTimeLeft, onTick
-
Constructor Details
-
InvisCooldown
Creates a new InvisCooldown effect.- Parameters:
player- The player to apply the cooldown to.
-
-
Method Details