Package com.epicsagaonline.bukkit.ChallengeMaps.objects

Examples of com.epicsagaonline.bukkit.ChallengeMaps.objects.Objective


      for (String key : Current.GameStates.keySet())
      {
        GameState gs = Current.GameStates.get(key);
        for (String objKey : gs.getMap().getObjectives().keySet())
        {
          Objective obj = gs.getMap().getObjectives().get(objKey);
          Trigger trg = obj.getTrigger();
          switch (trg.getType())
          {
            case BLOCK_BREAK:
              ProcessBlockBreak(gs, obj);
              break;
View Full Code Here


        break;
      }
      count++;
    }

    Objective obj = gs.getMap().getObjectives().get(key);

    if (obj != null)
    {
      if (gs.getCompletedObjectives().contains(key))
      {
        result = ChatColor.GREEN + "[Done] " + ChatColor.WHITE;
      }
      else
      {
        result = ChatColor.RED + "[      ] " + ChatColor.WHITE;
      }
      result = result + obj.getText() + ChatColor.BLUE + " (" + obj.getScoreValue() + ")";
    }

    return result;
  }
View Full Code Here

TOP

Related Classes of com.epicsagaonline.bukkit.ChallengeMaps.objects.Objective

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.