         y: 0
 
 
-  _loadVisual: ->
-    tileSet = @tileSet
+  # 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()
-    ###
-      TODO: change tileSet.image in Yeti.json
-    ###
-    img.src = tileSet.image
+    img.src = @tileSet.image
 
     @atlas = img
 

module.exports =


  _initVisual: ->
    @visual = true

    @loadMethods.push @_loadVisual

    @spriteState =
      moving: false

      animationRate: 100
      normal: 1

    @tileSet =
      image: pathToAtlas
      tilesX: 0
      tilesY: 0
      tileheight: 0
