Relocating enemy checks

Optimized and relocated the enemies check function into the enemy class