Refactoring Enemy.hx