Interface TrapAction


public interface TrapAction
  • Method Summary

    Modifier and Type
    Method
    Description
     
    void
    onTrigger(@NotNull org.bukkit.entity.Player player, ITeam playerTeam, ITeam targetTeam)
    Manage what happens on enters .
  • Method Details

    • getName

      String getName()
      Returns:
      trap identifier.
    • onTrigger

      void onTrigger(@NotNull @NotNull org.bukkit.entity.Player player, ITeam playerTeam, ITeam targetTeam)
      Manage what happens on enters .
      Parameters:
      player - The player who enters the targetTeam.
      playerTeam - Enemy player team.
      targetTeam - The affected team.