Refactors enemy class into abstract class and example enemy.