Package org.iremake.common.model.map

Examples of org.iremake.common.model.map.MapItem


        // we add an engineer unit to the capital province
        int capital = properties.getInt(KEY_CAPITAL);
        for (Province province : provinces) {
            if (province.getID() == capital) {
                MapItem unit = new MapItem(MapItemType.Engineer, province.getTownPosition());
                units.addElement(unit);
            }
        }
    }
View Full Code Here

TOP

Related Classes of org.iremake.common.model.map.MapItem

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.