Package com.jcloisterzone.ui

Examples of com.jcloisterzone.ui.ImmutablePoint.scale()


         public ImmutablePoint getScaledOffset(int boxSize) {
             ImmutablePoint point = offset;
             if (order > 0) {
                 point = point.translate(10*order, 0);
             }
             return point.scale(getSquareSize(), boxSize);
         }

         public boolean match(Class<? extends Meeple> meepleType, FeaturePointer fp) {
             if (!meepleType.equals(this.meepleType)) return false;
             if (location != fp.getLocation()) return false;
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.