Class PlayerStunStatusEffect

java.lang.Object
com.csse3200.game.minigames.maze.components.PlayerStunStatusEffect
All Implemented Interfaces:
StatusEffect

public class PlayerStunStatusEffect extends Object implements StatusEffect
Class for the NPC stun affect
  • Constructor Details

    • PlayerStunStatusEffect

      public PlayerStunStatusEffect()
  • Method Details

    • create

      public void create(Entity entity)
      Create the status effect and attach it to the entity.
      Specified by:
      create in interface StatusEffect
      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 interface StatusEffect
    • stop

      public void stop()
      Stop the effects of this status immediately. This can be called at any time.
      Specified by:
      stop in interface StatusEffect
    • update

      public void update()
      unused at the moment
      Specified by:
      update in interface StatusEffect