Examples of IWeaponStorage


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
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.