Refactoring enemy