Interface TrapAction
public interface TrapAction
-
Method Summary
-
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.
-