/*     */   public void paintGUI(Graphics g)
/*     */   {
/* 548 */     int offY = 280;
/* 549 */     g.setColor(Color.WHITE);
/* 550 */     g.setFont(this.font);
/* 551 */     g.drawImage(guiUnits.getTileImage(0), 12, 12 + offY, this);
/*     */ 
/* 553 */     if (units.contains(commander)) {
/* 554 */       g.setColor(this.green);
/* 555 */       g.fillRect(17, 17 + offY, (int)(commander.hp * this.hpPerPixel), 40);
/*     */     } else {
/* 557 */       g.setColor(this.red);
/* 558 */       g.fillRect(17, 17 + offY, 40, 40);
/*     */     }
/* 560 */     if (units.contains(radio)) {
/* 561 */       g.setColor(this.green);
/* 562 */       g.fillRect(17, 61 + offY, (int)(radio.hp * this.hpPerPixel), 40);
/*     */     } else {
/* 564 */       g.setColor(this.red);
/* 565 */       g.fillRect(17, 61 + offY, 40, 40);
/*     */     }
/* 567 */     if (units.contains(engineer)) {
/* 568 */       g.setColor(this.green);
/* 569 */       g.fillRect(17, 105 + offY, (int)(engineer.hp * this.hpPerPixel), 40);
/*     */     } else {
/* 571 */       g.setColor(this.red);
/* 572 */       g.fillRect(17, 105 + offY, 40, 40);
/*     */     }
/* 574 */     if (units.contains(machinegunner)) {
/* 575 */       g.setColor(this.green);
/* 576 */       g.fillRect(17, 149 + offY, (int)(machinegunner.hp * this.hpPerPixel), 40);
/*     */     } else {
/* 578 */       g.setColor(this.red);
/* 579 */       g.fillRect(17, 149 + offY, 40, 40);
/*     */     }
/* 581 */     g.setFont(new Font("Arial", 0, 12));
/*     */   }