public Images()
    	{
    		pacman=new EnumMap<MOVE,BufferedImage[]>(MOVE.class);

    		pacman.put(MOVE.UP,new BufferedImage[]{		_loadImage("mspacman-up-normal.png"),
    													_loadImage("mspacman-up-open.png"),
    													_loadImage("mspacman-up-closed.png")});
    		
    		pacman.put(MOVE.RIGHT,new BufferedImage[]{	_loadImage("mspacman-right-normal.png"),
    													_loadImage("mspacman-right-open.png"),
    													_loadImage("mspacman-right-closed.png")});
    		
    		pacman.put(MOVE.DOWN,new BufferedImage[]{	_loadImage("mspacman-down-normal.png"),
    													_loadImage("mspacman-down-open.png"),
    													_loadImage("mspacman-down-closed.png")});
    		
    		pacman.put(MOVE.LEFT,new BufferedImage[]{	_loadImage("mspacman-left-normal.png"),
    													_loadImage("mspacman-left-open.png"),
    													_loadImage("mspacman-left-closed.png")});
    		
    		ghosts=new EnumMap<GHOST,EnumMap<MOVE,BufferedImage[]>>(GHOST.class);
    		
    		ghosts.put(GHOST.BLINKY,new EnumMap<MOVE,BufferedImage[]>(MOVE.class));
    		ghosts.get(GHOST.BLINKY).put(MOVE.UP,new BufferedImage[]{_loadImage("blinky-up-1.png"), _loadImage("blinky-up-2.png")});
    		ghosts.get(GHOST.BLINKY).put(MOVE.RIGHT,new BufferedImage[]{_loadImage("blinky-right-1.png"), _loadImage("blinky-right-2.png")});
    		ghosts.get(GHOST.BLINKY).put(MOVE.DOWN,new BufferedImage[]{_loadImage("blinky-down-1.png"), _loadImage("blinky-down-2.png")});
    		ghosts.get(GHOST.BLINKY).put(MOVE.LEFT,new BufferedImage[]{_loadImage("blinky-left-1.png"), _loadImage("blinky-left-2.png")});
            
    		ghosts.put(GHOST.PINKY,new EnumMap<MOVE,BufferedImage[]>(MOVE.class));
    		ghosts.get(GHOST.PINKY).put(MOVE.UP,new BufferedImage[]{_loadImage("pinky-up-1.png"), _loadImage("pinky-up-2.png")});
    		ghosts.get(GHOST.PINKY).put(MOVE.RIGHT,new BufferedImage[]{_loadImage("pinky-right-1.png"), _loadImage("pinky-right-2.png")});
    		ghosts.get(GHOST.PINKY).put(MOVE.DOWN,new BufferedImage[]{_loadImage("pinky-down-1.png"), _loadImage("pinky-down-2.png")});
    		ghosts.get(GHOST.PINKY).put(MOVE.LEFT,new BufferedImage[]{_loadImage("pinky-left-1.png"), _loadImage("pinky-left-2.png")});
            
    		ghosts.put(GHOST.INKY,new EnumMap<MOVE,BufferedImage[]>(MOVE.class));
    		ghosts.get(GHOST.INKY).put(MOVE.UP,new BufferedImage[]{_loadImage("inky-up-1.png"), _loadImage("inky-up-2.png")});
    		ghosts.get(GHOST.INKY).put(MOVE.RIGHT,new BufferedImage[]{_loadImage("inky-right-1.png"), _loadImage("inky-right-2.png")});
    		ghosts.get(GHOST.INKY).put(MOVE.DOWN,new BufferedImage[]{_loadImage("inky-down-1.png"), _loadImage("inky-down-2.png")});
    		ghosts.get(GHOST.INKY).put(MOVE.LEFT,new BufferedImage[]{_loadImage("inky-left-1.png"), _loadImage("inky-left-2.png")});

    		ghosts.put(GHOST.SUE,new EnumMap<MOVE,BufferedImage[]>(MOVE.class));
    		ghosts.get(GHOST.SUE).put(MOVE.UP,new BufferedImage[]{_loadImage("sue-up-1.png"), _loadImage("sue-up-2.png")});
    		ghosts.get(GHOST.SUE).put(MOVE.RIGHT,new BufferedImage[]{_loadImage("sue-right-1.png"), _loadImage("sue-right-2.png")});
    		ghosts.get(GHOST.SUE).put(MOVE.DOWN,new BufferedImage[]{_loadImage("sue-down-1.png"), _loadImage("sue-down-2.png")});
    		ghosts.get(GHOST.SUE).put(MOVE.LEFT,new BufferedImage[]{_loadImage("sue-left-1.png"), _loadImage("sue-left-2.png")});
            
    		edibleGhosts=new BufferedImage[2];
    		edibleGhosts[0]=_loadImage("edible-ghost-1.png");
    		edibleGhosts[1]=_loadImage("edible-ghost-2.png");
    		
    		edibleBlinkingGhosts=new BufferedImage[2];
    		edibleBlinkingGhosts[0]=_loadImage("edible-ghost-blink-1.png");
    		edibleBlinkingGhosts[1]=_loadImage("edible-ghost-blink-2.png");
    		
    		mazes=new BufferedImage[4];
            for(int i=0;i<mazes.length;i++)
            	mazes[i]=_loadImage(mazeNames[i]); 
    	}