protected void action(){
		if(!dead){
			if(wallExistsRight()){
				if(game.getCurrentLevel().blockAtPixelExists(x+(width)-1,y+(height/4))){
					Block bl = game.getCurrentLevel().getBlockAtPixel(x+(width)-1,y+(height/4));
					activateDoor(bl);
				} else {
					Block bl = game.getCurrentLevel().getBlockAtPixel(x+(width)-1,y-(height/4));
					activateDoor(bl);
				}
			} else if(wallExistsLeft()){
				if(game.getCurrentLevel().blockAtPixelExists(x+(width)-1,y+(height/4))){
					Block bl = game.getCurrentLevel().getBlockAtPixel(x+(width)-1,y+(height/4));
					activateDoor(bl);
				} else {
					Block bl = game.getCurrentLevel().getBlockAtPixel(x-(width),y+(height/4));
					activateDoor(bl);
				}
			}
		}
	}