Modified the Enemy class.