Package civquest.city.gameChange

Examples of civquest.city.gameChange.RemoveCity.execute()


        for (;moit.hasNext();) {
            MapObject mapObject = moit.next();
            if (mapObject instanceof City) {
                RemoveCity remove = new RemoveCity(resToNation,
                        mapObject.getID());
                remove.execute();
            } else if (mapObject instanceof Unit) {
                RemoveUnit remove = new RemoveUnit(resToNation,
                        mapObject.getID());
                remove.execute();
            }
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

        Iterator<MapObject> moit = mapObjects.iterator();
        for (;moit.hasNext();) {
            MapObject mapObject = moit.next();
            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();
            }
        }
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.