created dog enemy class