Package de.tum.cit.fop.maze.effects
Class Buff
java.lang.Object
de.tum.cit.fop.maze.effects.Effect
de.tum.cit.fop.maze.effects.Buff
A Buff effect that increases the player's speed for a duration.
-
Field Summary
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class de.tum.cit.fop.maze.effects.Effect
getTimeLeft, onTick
-
Constructor Details
-
Buff
Creates a new Buff effect.- Parameters:
player- The player to apply the buff to.duration- The duration of the buff.
-
-
Method Details