let enemyTop = enemy.offsetTop;
let bulletTop = bullet.offsetTop;
let bulletBottom = bullet.offsetTop + bullet.offsetHeight;
let enemyBottom = enemy.offsetTop + enemy.offsetHeight;
let bulletLeft = bullet.offsetLeft;
let enemyLeft = enemy.offsetLeft;
if(bulletBottom <= enemyBottom && bulletLeft <= enemyLeft && bulletTop >= enemyTop)