SteamWar/SpigotCore
Archiviert
13
0

Multiple Team Leaders #99

Manuell gemergt
Lixfel hat 1 Commits von Team_Multi_Leader nach master 2021-04-12 17:40:17 +02:00 zusammengeführt
Nur Änderungen aus Commit e1c24293bd werden angezeigt - Alle Commits anzeigen

Datei anzeigen

@ -28,21 +28,19 @@ public class Team {
private final int teamId;
private final String teamKuerzel;
private final String teamName;
private final int teamLeader;
private final String teamColor;
private static final Team pub = new Team(0, "PUB", "Öffentlich", 0, "8");
private static final Team pub = new Team(0, "PUB", "Öffentlich", "8");
private Team(int teamId, String teamKuerzel, String teamName, int teamLeader, String teamColor){
private Team(int teamId, String teamKuerzel, String teamName, String teamColor){
this.teamId = teamId;
this.teamKuerzel = teamKuerzel;
this.teamName = teamName;
this.teamLeader = teamLeader;
this.teamColor = teamColor;
}
private Team(ResultSet rs) throws SQLException {
this(rs.getInt("TeamID"), rs.getString("TeamKuerzel"), rs.getString("TeamName"), rs.getInt("TeamLeader"), rs.getString("TeamColor"));
this(rs.getInt("TeamID"), rs.getString("TeamKuerzel"), rs.getString("TeamName"), rs.getString("TeamColor"));
}
public static Team get(int id){
@ -70,10 +68,6 @@ public class Team {
return teamName;
}
public int getTeamLeader() {
return teamLeader;
}
public String getTeamColor() {
return teamColor;
}