New detection method

remove empty object with detect
Added detection function in enemyAi
Added more wider swing animation