Package civquest.group.gameChange

Examples of civquest.group.gameChange.UnmarkField


                fieldIDs[i] = mapData.getFieldID(coords.get(i));
            }

            if (group.getFields().contains(wf)) {
                //unmark fields
                UnmarkField unmarkField = new UnmarkField(group, coords, fieldIDs);
                unmarkField.execute();
            } else {
                //mark fields
                MarkField markField = new MarkField(group, coords, fieldIDs);
                markField.execute();
            }
View Full Code Here


  public void markOnlyField() {
    // We may assume that we are active - otherwise, the function couldn't be called
    if (gameData != null) {
      Group group = quadMap.getActiveGroup();
      if (group.getFields().contains(position)) {
                UnmarkField unmarkField = new UnmarkField(group, position);
                unmarkField.execute();
            } else {
                MarkField markField = new MarkField(group, position);
                markField.execute();
            }
    } else {
View Full Code Here

TOP

Related Classes of civquest.group.gameChange.UnmarkField

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.