public EntityFast(TileMap tm, double dx){

		super(tm); 
		this.tiley = tm;

		width = 35;
		cwidth = 32;
		height = 160;
		cheight = 128
				;

		moveSpeed = dx;
		maxSpeed = dx;
		stopSpeed = 0.0;
		fallSpeed = 0.1;
		maxFallSpeed = 4.0;
		jumpStart = -6.5;//-5.8
		stopJumpSpeed = 0.3;
		
		facingRight = true;

		health = maxHealth = 2;
	try{

		BufferedImage spritesheet = ImageIO.read(
				getClass().getResourceAsStream("/Sprites/Image2.png"));

		sprites = new ArrayList<BufferedImage[]>();
		for(int i = 0; i < 6; i++){
			BufferedImage[] bi = new BufferedImage[numFrames[i]];

			for(int j = 0; j < numFrames[i]; j++){
				if(i == 0){
					bi[j] = spritesheet.getSubimage(
							j * width,
							i * height,
							width,
							height);
				}else if(i == 1 || i == 4){
					bi[j] = spritesheet.getSubimage(j* 46, i * height, 46, height);
				}else if(i == 2){
					bi[j] = spritesheet.getSubimage(j * 115,i * height, 115, height);
				}else if(i == 3){
					bi[j] = spritesheet.getSubimage(j * 85,i * height, 85, height);
				}else if(i == 5){
					bi[j] = spritesheet.getSubimage(j * 61,i * height, 61, height);
				}
			}
			sprites.add(bi);
		}
	}catch(Exception e){
		e.printStackTrace();
	}
	animation = new Animation();
	currentAction = IDLE;
	animation.setFrames(sprites.get(IDLE));
	animation.setDelay(40);
	}