Class PlayerStunStatusEffect
java.lang.Object
com.csse3200.game.minigames.maze.components.PlayerStunStatusEffect
- All Implemented Interfaces:
StatusEffect
Class for the NPC stun affect
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
PlayerStunStatusEffect
public PlayerStunStatusEffect()
-
-
Method Details
-
create
Create the status effect and attach it to the entity.- Specified by:
create
in interfaceStatusEffect
- Parameters:
entity
- Entity to attach to
-
start
public void start()Start the effects of this status. Called whenever the status goes from inactive to active.- Specified by:
start
in interfaceStatusEffect
-
stop
public void stop()Stop the effects of this status immediately. This can be called at any time.- Specified by:
stop
in interfaceStatusEffect
-
update
public void update()unused at the moment- Specified by:
update
in interfaceStatusEffect
-