public Spit(String dir, TileMap tm){
		super(tm);
		
		if(dir.equals("right")){
			facingRight = true;
			facingUp = false;
			facingDown = false;
		} else if(dir.equals("up")){
			facingRight = false;
			facingUp = true;
			facingDown = false;
		} else if(dir.equals("down")){
			facingRight = false;
			facingUp = false;
			facingDown = true;
		}else{
			facingRight = false;
			facingUp = false;
			facingDown = false;
		}
		
		moveSpeed = 3.8;
		if(dir.equals("right")){
			dx = moveSpeed;
			dy = 0;
		}else if(dir.equals("left")){
			dx = -moveSpeed;
			dy = 0;
		}else if(dir.equals("up")){
			dy = -moveSpeed;
			dx = 0;
		}else{
			dy = moveSpeed;
			dx = 0;
		}
		
		width = 28;
		height = 30;
		cwidth = 28;
		cheight = 30;
		
try{
			
			BufferedImage spritesheet = ImageIO.read(
					getClass().getResourceAsStream(
							"/Sprites/Enemies/SpitterBall.png"));
			sprites = new BufferedImage[4];
			for(int i = 0; i < sprites.length; i++){
				sprites[i] = spritesheet.getSubimage(width * i, 0, width, height);
			}
		
			animation = new Animation();
			animation.setFrames(sprites);
			animation.setDelay(70);
		}catch(Exception e){
			e.printStackTrace();
		}
	}