Package com.jcloisterzone.board

Examples of com.jcloisterzone.board.TileGroupState


    public Map<String, TileGroupState> getActiveGroups() {
        Map<String, TileGroupState> result = new HashMap<>();
        NodeList nl = getSecondLevelElelents("tiles", "group");
        for (int i = 0; i < nl.getLength(); i++) {
            Element el = (Element) nl.item(i);
            TileGroupState state = TileGroupState.valueOf(el.getAttribute("state"));
            result.put(el.getAttribute("name"), state);
        }
        return result;
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.board.TileGroupState

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.