Examples of TeamConfigBag


Examples of com.tommytony.war.config.TeamConfigBag

  public Warzone(World world, String name) {
    this.world = world;
    this.name = name;
    this.warzoneConfig = new WarzoneConfigBag(this);
    this.teamDefaultConfig = new TeamConfigBag()// don't use ctor with Warzone, as this changes config resolution
    this.volume = new ZoneVolume(name, this.getWorld(), this);
    this.lobbyMaterials = War.war.getWarhubMaterials().clone();
  }
View Full Code Here

Examples of com.tommytony.war.config.TeamConfigBag

  private TeamConfigBag teamConfig;
  private InventoryBag inventories;

  public Team(String name, TeamKind kind, List<Location> teamSpawn, Warzone warzone) {
    this.warzone = warzone;
    this.teamConfig = new TeamConfigBag(warzone);
    this.inventories = new InventoryBag(warzone)// important constructors for cascading configs
    this.setName(name);
    this.teamSpawns = new ArrayList<Location>(teamSpawn);
    this.spawnVolumes = new HashMap<Location, Volume>();
    for (Location spawn : teamSpawn) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.