Package ch.sahits.game.openpatrician.model.building

Examples of ch.sahits.game.openpatrician.model.building.IWeaponStorage


      y += positions.lineHeight; // more space to the title
      y += positions.lineHeight;
      drawTableHeader(g2d, y);
     
      // TODO fill in the data
      IWeaponStorage storage = city.getPlayer().findTradingOffice(cityModel).getWeaponStorage();
      for (IWeapon weapon : EWeapon.values()) {
        int amount = storage.getWeapon(weapon);
        if (amount>0){
          y = drawRow(g2d, y, positions.secondcolumn+50, String.valueOf(amount));
        } else {
          y += positions.lineHeight;
        }
View Full Code Here

TOP

Related Classes of ch.sahits.game.openpatrician.model.building.IWeaponStorage

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.