Package com.jcloisterzone

Examples of com.jcloisterzone.TradeResource.ordinal()


    TradeResource tr = city.getTradeResource();
    if (tr != null) {
      if (cityTradeResources == null) {
        cityTradeResources = new int[TradeResource.values().length];
      }
      cityTradeResources[tr.ordinal()]++;
    }
    if (cityCache != null) {
      cityCache.put(city, this);
    }
    return super.visit(feature);
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.