 
 class window.UCSD extends School
   school_name: 'ucsd',
+  fighting: 'right'
   imageOffset: {
     'body': {x: 10, y: 150},
     'right-arm': {x: 90, y: 0},

    @drawImage('legs')
    @drawImage('left-arm', true)


  drawImage: (imageName, doBreath) ->
    breathAmt = if doBreath then @breathAmt else 0
    image = @images[imageName]
    offset = @getOffset(imageName)

    @processReverse(image) if image.processedReverse == undefined

    @context.drawImage(image, @charX + offset['x'], @charY + offset['y'] - breathAmt)

  getOffset: (imageName) ->

  breathDir: 1
  breathAmt: 0
  breathMax: 2

  constructor: (@context, @isReversed) ->
    @buffer = @createBuffer()
    @charX += 600 if @isReversed
    @images = {}
    setInterval(@updateBreath, 1000 / @fps)

  redraw: =>
    if @fightState
