You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
173 lines
3.3 KiB
173 lines
3.3 KiB
package cx.sfy.TheBridge.team;
|
|
|
|
import java.util.ArrayList;
|
|
|
|
import org.bukkit.ChatColor;
|
|
import org.bukkit.Color;
|
|
import org.bukkit.Location;
|
|
import org.bukkit.entity.Player;
|
|
|
|
import com.sk89q.worldedit.EditSession;
|
|
|
|
import cx.sfy.TheBridge.cosmetics.Cage;
|
|
|
|
public abstract class Team {
|
|
|
|
private ArrayList<Player> players;
|
|
private ArrayList<Location> portal;
|
|
private Location hologram;
|
|
private Location teamSpawn;
|
|
private Location teamRespawn;
|
|
private int life;
|
|
private boolean death;
|
|
private ChatColor color;
|
|
private Color fcolor;
|
|
private String teamName;
|
|
private String ally;
|
|
private boolean cage;
|
|
private EditSession editSessionRed;
|
|
private EditSession editSessionBlue;
|
|
private EditSession editSessionYellow;
|
|
private EditSession editSessionGreen;
|
|
private Cage cages;
|
|
|
|
abstract void createCage(Cage cage);
|
|
abstract void removeCage();
|
|
|
|
public ArrayList<Player> getPlayers() {
|
|
return players;
|
|
}
|
|
|
|
public void setPlayers(ArrayList<Player> players) {
|
|
this.players = players;
|
|
}
|
|
|
|
public ArrayList<Location> getPortal() {
|
|
return portal;
|
|
}
|
|
|
|
public void setPortal(ArrayList<Location> portal) {
|
|
this.portal = portal;
|
|
}
|
|
|
|
public Location getHologram() {
|
|
return hologram;
|
|
}
|
|
|
|
public void setHologram(Location hologram) {
|
|
this.hologram = hologram;
|
|
}
|
|
|
|
public Location getTeamSpawn() {
|
|
return teamSpawn;
|
|
}
|
|
|
|
public void setTeamSpawn(Location teamSpawn) {
|
|
this.teamSpawn = teamSpawn;
|
|
}
|
|
|
|
public Location getTeamRespawn() {
|
|
return teamRespawn;
|
|
}
|
|
|
|
public void setTeamRespawn(Location teamRespawn) {
|
|
this.teamRespawn = teamRespawn;
|
|
}
|
|
|
|
public int getLife() {
|
|
return life;
|
|
}
|
|
|
|
public void setLife(int life) {
|
|
this.life = life;
|
|
}
|
|
|
|
public boolean isDeath() {
|
|
return death;
|
|
}
|
|
|
|
public void setDeath(boolean death) {
|
|
this.death = death;
|
|
}
|
|
|
|
public ChatColor getColor() {
|
|
return color;
|
|
}
|
|
|
|
public void setColor(ChatColor color) {
|
|
this.color = color;
|
|
}
|
|
|
|
public Color getFcolor() {
|
|
return fcolor;
|
|
}
|
|
|
|
public void setFcolor(Color fcolor) {
|
|
this.fcolor = fcolor;
|
|
}
|
|
|
|
public String getTeamName() {
|
|
return teamName;
|
|
}
|
|
|
|
public void setTeamName(String teamName) {
|
|
this.teamName = teamName;
|
|
}
|
|
|
|
public String getAlly() {
|
|
return ally;
|
|
}
|
|
|
|
public void setAlly(String ally) {
|
|
this.ally = ally;
|
|
}
|
|
|
|
public boolean isCage() {
|
|
return cage;
|
|
}
|
|
|
|
public void setCage(boolean cage) {
|
|
this.cage = cage;
|
|
}
|
|
|
|
public EditSession getEditSessionRed() {
|
|
return editSessionRed;
|
|
}
|
|
|
|
public void setEditSessionRed(EditSession editSessionRed) {
|
|
this.editSessionRed = editSessionRed;
|
|
}
|
|
|
|
public EditSession getEditSessionBlue() {
|
|
return editSessionBlue;
|
|
}
|
|
|
|
public void setEditSessionBlue(EditSession editSessionBlue) {
|
|
this.editSessionBlue = editSessionBlue;
|
|
}
|
|
|
|
public EditSession getEditSessionYellow() {
|
|
return editSessionYellow;
|
|
}
|
|
|
|
public void setEditSessionYellow(EditSession editSessionYellow) {
|
|
this.editSessionYellow = editSessionYellow;
|
|
}
|
|
|
|
public EditSession getEditSessionGreen() {
|
|
return editSessionGreen;
|
|
}
|
|
|
|
public void setEditSessionGreen(EditSession editSessionGreen) {
|
|
this.editSessionGreen = editSessionGreen;
|
|
}
|
|
|
|
public Cage getCages() {
|
|
return cages;
|
|
}
|
|
|
|
public void setCages(Cage cages) {
|
|
this.cages = cages;
|
|
}
|
|
|
|
}
|