content: package com.neusoft.planewar.util;
  
  import java.awt.Image;
  import java.util.HashMap;
  import java.util.Map;
  
  import com.neusoft.planewar.constant.Constant;
  
  /**
   * ĿеͼƬ<br>
   * ʹMapṹַʱʹþ̬;̬ʼ<br>
   * 
   * @author zzk
   *
   */
  public class ImageUtil {
  	public static Map<String, Image> images = new HashMap<>();
  
  	static {
  		// ͼ
  		for (int i = 1; i <= 7; i++) {
  			images.put("background_0" + i,
  					GameUtil.getImage(Constant.IMG_PRE + "background/background_0" + i + ".png"));
  		}
  		// ҷ1ŷɻ
  		for (int i = 1; i <= 3; i++) {
  			for (int j = 1; j <= 3; j++) {
  				images.put("myPlane_0" + i + "_0" + j,
  						GameUtil.getImage(Constant.IMG_PRE + "plane/myPlane/myPlane_0" + i + "_0" + j + ".png"));
  			}
  		}
  		// ҷ1ŷɻӵ
  		for (int i = 1; i <= 3; i++) {
  			for (int j = 1; j <= 3; j++) {
  				images.put("myPlane_missile_0" + i + "_0" + j, GameUtil
  						.getImage(Constant.IMG_PRE + "missile/myPlane/myPlane_missile_0" + i + "_0" + j + ".png"));
  			}
  		}
  		images.put("myPlane_missile_super",
  				GameUtil.getImage(Constant.IMG_PRE + "missile/myPlane/myPlane_missile_super.png"));
  
  		// Ʒ
  		for (int i = 1; i <= 6; i++) {
  			images.put("item_0" + i, GameUtil.getImage(Constant.IMG_PRE + "item/item_0" + i + ".png"));
  		}
  		images.put("effect_04", GameUtil.getImage(Constant.IMG_PRE + "item/effect/effect_04.png"));
  
  		images.put("myPlane_missile_05_01",
  				GameUtil.getImage(Constant.IMG_PRE + "missile/myPlane/myPlane_missile_05_01.png"));
  		images.put("myPlane_missile_05_02",
  				GameUtil.getImage(Constant.IMG_PRE + "missile/myPlane/myPlane_missile_05_02.png"));
  		images.put("myPlane_missile_05_03",
  				GameUtil.getImage(Constant.IMG_PRE + "missile/myPlane/myPlane_missile_05_03.png"));
  
  		// ҷѪ
  		images.put("myBlood_blank", GameUtil.getImage(Constant.IMG_PRE + "blood/myBlood_blank.png"));
  		images.put("myBlood", GameUtil.getImage(Constant.IMG_PRE + "blood/myBlood.png"));
  		// 
  		images.put("score", GameUtil.getImage(Constant.IMG_PRE + "score/score.png"));
  		// 
  		images.put("warning", GameUtil.getImage(Constant.IMG_PRE + "warning.png"));
  		images.put("success", GameUtil.getImage(Constant.IMG_PRE + "success.png"));
  		images.put("fail", GameUtil.getImage(Constant.IMG_PRE + "fail.png"));
  
  		// Ѫ
  		images.put("blood_blank", GameUtil.getImage(Constant.IMG_PRE + "blood/blood_blank.png"));
  		images.put("blood", GameUtil.getImage(Constant.IMG_PRE + "blood/blood.png"));
  		// ӵ
  		for (int i = 1; i <= 6; i++) {
  			images.put("enemyPlane_missile_0" + i,
  					GameUtil.getImage(Constant.IMG_PRE + "missile/enemyPlane/enemyPlane_missile_0" + i + ".png"));
  		}
  		// bossӵ
  		images.put("enemyPlane_missile_0100",
  				GameUtil.getImage(Constant.IMG_PRE + "missile/enemyPlane/enemyPlane_missile_0100.png"));
  
  		// ը
  		for (int i = 1; i <= 8; i++) {
  			images.put("explode_0" + i, GameUtil.getImage(Constant.IMG_PRE + "explode/explode_0" + i + ".png"));
  		}
  
  		// зɻ1-5ͼ
  		for (int i = 1; i <= 6; i++) {
  			for (int j = 1; j <= 4; j++) {
  				images.put("enemyPlane_0" + i + "_0" + j,
  						GameUtil.getImage(Constant.IMG_PRE + "plane/emenyPlane/enemyPlane_0" + i + "_0" + j + ".png"));
  			}
  		}
  		// зbossɻ
  		for (int i = 1; i <= 5; i++) {
  			images.put("enemyPlane_boss_0" + i,
  					GameUtil.getImage(Constant.IMG_PRE + "plane/boss/enemyPlane_boss_0" + i + ".png"));
  		}
  	}
  }
  