001package com.ericlam.mc.minigames.core.game; 002 003import net.md_5.bungee.api.ChatColor; 004 005/** 006 * 可設置的隊伍容器 007 */ 008public interface VariableTeam extends GameTeam { 009 010 /** 011 * 設置隊伍名稱 012 * 013 * @param teamName 新名稱 014 */ 015 void setTeamName(String teamName); 016 017 /** 018 * 設置隊伍顏色 019 * 020 * @param color 新顏色 021 */ 022 void setColor(ChatColor color); 023 024 /** 025 * 設置隊伍開啟隊友傷害 026 * 027 * @param enabled 啟用 028 */ 029 void setEnabledFriendlyFire(boolean enabled); 030 031}