       animationRate: 100
       normal: 1
 
-    # Must be set in constructor
     @tileSet =
-      image: 'path to atlas'
+      image: pathToAtlas
       tilesX: 0
       tilesY: 0
       tileheight: 0

module.exports =


  _initVisual: ->
    @visual = true

    @loadMethods.push @_loadVisual

    @spriteState =
      moving: false

        y: 0


  # Call this in the constructor after you call super
  _visual_init: () ->
    @loadMethods.push @_visual_load

  # Will be called when Entity.load is called
  _visual_load: ->
    img = new Image()
    img.src = @tileSet.image

    @atlas = img

