Delete src/main/java/de/lasertec/game/Team.java via Git Manager GUI
This commit is contained in:
@@ -1,38 +0,0 @@
|
||||
package de.lasertec.game;
|
||||
|
||||
import org.bukkit.ChatColor;
|
||||
import org.bukkit.Color;
|
||||
import org.bukkit.Material;
|
||||
|
||||
public enum Team {
|
||||
|
||||
// Name ChatColor Leder-Farbe (kräftig) Wolle Glas
|
||||
RED ("Rot", ChatColor.RED, Color.fromRGB(220, 20, 20), Material.RED_WOOL, Material.RED_STAINED_GLASS),
|
||||
BLUE ("Blau", ChatColor.AQUA, Color.fromRGB( 30, 80, 220), Material.BLUE_WOOL, Material.BLUE_STAINED_GLASS),
|
||||
GREEN ("Grün", ChatColor.GREEN, Color.fromRGB( 20, 160, 20), Material.GREEN_WOOL, Material.GREEN_STAINED_GLASS),
|
||||
YELLOW("Gelb", ChatColor.YELLOW, Color.fromRGB(220, 180, 0), Material.YELLOW_WOOL, Material.YELLOW_STAINED_GLASS);
|
||||
|
||||
private final String displayName;
|
||||
private final ChatColor chatColor;
|
||||
private final Color armorColor;
|
||||
private final Material woolMat;
|
||||
private final Material glassMat;
|
||||
|
||||
Team(String displayName, ChatColor chatColor, Color armorColor,
|
||||
Material woolMat, Material glassMat) {
|
||||
this.displayName = displayName;
|
||||
this.chatColor = chatColor;
|
||||
this.armorColor = armorColor;
|
||||
this.woolMat = woolMat;
|
||||
this.glassMat = glassMat;
|
||||
}
|
||||
|
||||
public String getDisplayName() { return displayName; }
|
||||
public ChatColor getChatColor() { return chatColor; }
|
||||
public Color getArmorColor() { return armorColor; }
|
||||
public Material getWoolMat() { return woolMat; }
|
||||
public Material getGlassMat() { return glassMat; }
|
||||
|
||||
/** z.B. "§cRot" */
|
||||
public String colored() { return chatColor + displayName; }
|
||||
}
|
||||
Reference in New Issue
Block a user