Package com.jcloisterzone.ui.theme

Examples of com.jcloisterzone.ui.theme.FeatureDescriptor


        ImmutablePoint point = pluginGeometry.getMeeplePlacement(tile, piece.getClass(), loc);
        if (point == null) {
            point = defaultGeometry.getMeeplePlacement(tile, piece.getClass(), piece.getLocation());
        }
        if (point == null) {
            logger.warn("No point defined for <" + (new FeatureDescriptor(tile, piece.getClass(), loc)) + ">");
            point =  new ImmutablePoint(0, 0);
        }
        return point;
    }
View Full Code Here


        Area area = pluginGeometry.getArea(tile, featureClass, loc);
        if (area == null) {
            area  = defaultGeometry.getArea(tile, featureClass, loc);
        }
        if (area == null) {
            logger.error("No shape defined for <" + (new FeatureDescriptor(tile, featureClass, loc)) + ">");
            area = new Area();
        }
        return area;
    }
View Full Code Here

TOP

Related Classes of com.jcloisterzone.ui.theme.FeatureDescriptor

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.