Examples of UnmarkAllUnits


Examples of civquest.group.gameChange.UnmarkAllUnits

    public UnmarkAllUnitsAction(Group group) {
        this.group = group;
    }

    public void actionPerformed(FunctionActionEvent e) {
        UnmarkAllUnits unmark = new UnmarkAllUnits(this.group,
                this.group.getGameData());
        unmark.execute();
    }
View Full Code Here

Examples of civquest.group.gameChange.UnmarkAllUnits

        List<Long> prevNotMarked
            = SetOperations.listWithoutSet(units, markedUnitsOnField);

        if (!additionally) {
            //unmark all units
            UnmarkAllUnits unmarkAllUnits = new UnmarkAllUnits(group,
                    this.quadMap.getGameData());
            unmarkAllUnits.execute();
        }
        if (this.units.size() == 1) {
            //one unit
            if (!additionally || markedUnitsOnField.isEmpty()) {
                //mark unit
View Full Code Here

Examples of civquest.group.gameChange.UnmarkAllUnits

  private void markOnlyTopUnit() {
    if (units.size() > 0) {
      if (quadMap.getGameData() != null) {
        Group group = quadMap.getActiveGroup();
       
        UnmarkAllUnits unmarkAllUnits = new UnmarkAllUnits(group,
                                   quadMap.getGameData());
        unmarkAllUnits.execute();
     
        MarkUnit markUnit = new MarkUnit(group, units.get(0));
        markUnit.execute();
      } else {
        Messages.getMessages().info("QuadIsoLayUnitView", "QMapWarn",
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.