Package civquest.units.gameChange

Examples of civquest.units.gameChange.RemoveUnit.execute()


                      + " because it has only " + change.getHealth()
                      + " (owner was: "
                      + mapData.getUnit(change.getMapObject())
                      .getOwner());
        RemoveUnit rmUnit = new RemoveUnit(change.getMapObject());
        rmUnit.execute();
        Messages.getMessages().info("DUnitDestroyManager", "Destroy",
                      "Destroying done");
      }
    }
View Full Code Here


                        mapObject.getID());
                remove.execute();
            } else if (mapObject instanceof Unit) {
                RemoveUnit remove = new RemoveUnit(resToNation,
                        mapObject.getID());
                remove.execute();
            }
        }
        qMap.getFieldView(Game.getGame(), coordinate).dataChanged();
    }
View Full Code Here

            if (mapObject instanceof City) {
                RemoveCity remove = new RemoveCity(this.map.getGameData().getRestrictedToNation(), mapObject.getID());
                remove.execute();
            } else if (mapObject instanceof Unit) {
                RemoveUnit remove = new RemoveUnit(this.map.getGameData().getRestrictedToNation(), mapObject.getID());
                remove.execute();
            }
        }
        notifyAfter();
        try {
            ((QuadMap) this.map).getFieldView(Game.getGame(), field.getPosition())
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.