Package com.tommytony.war.config

Examples of com.tommytony.war.config.InventoryBag


    ChatColor teamColor = ChatColor.AQUA;
   
    ChatColor normalColor = ChatColor.WHITE;
   
    String teamConfigStr = "";
    InventoryBag invs = team.getInventories();
    teamConfigStr += getLoadoutsString(invs);
   
    for (TeamConfig teamConfig : TeamConfig.values()) {
      Object value = team.getTeamConfig().getValue(teamConfig);
      if (value != null) {
View Full Code Here


  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) {
      this.setSpawnVolume(spawn, new Volume(name + teamSpawns.indexOf(spawn), warzone.getWorld()));
View Full Code Here

TOP

Related Classes of com.tommytony.war.config.InventoryBag

Copyright © 2018 www.massapicom. 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.