Examples of CityProduction


Examples of ch.sahits.game.openpatrician.model.city.CityProduction

      EWare ware, BufferedImage barrel, BufferedImage bale, int y) throws FontFormatException, IOException {
    IWare[] effective = city.getEffectiveProduction();
    IWare[] ineffective = city.getIneffectiveProduction();
    int amount=0;
    if (contains(effective, ware)){
      CityProduction producer = resolver.getCityProduction();
      amount = producer.getEfficientProduction(ware);
    } else if (contains(ineffective, ware)){
      CityProduction producer = resolver.getCityProduction();
      amount = producer.getInefficientProduction(ware);
    }
    drawWareAmount(g2d, ware, barrel, bale, y, amount, positions.prodCity);   
  }
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.