Package com.jcloisterzone.ai.choice

Examples of com.jcloisterzone.ai.choice.TilePlacementChoice


            Collections.sort(options);
            int size = options.size();
            for (int i = 0; i < size; i++) {
                TilePlacement tp = options.get(i);
                if (i == 0 || !options.get(i-1).getPosition().equals(tp.getPosition())) {
                    queue.push(new TilePlacementChoice(choice, savePoint, action, tp));
                }
            }
        } else {
            for (TilePlacement tp : action.getOptions()) {
                queue.push(new TilePlacementChoice(choice, savePoint, action, tp));
            }
        }
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.ai.choice.TilePlacementChoice

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.