 Leo.PlayerStateStanding =
 class PlayerStateStanding extends PlayerStateGround
 
-    constructor: (data) ->
+    constructor: (data) -> # PlayerStateStanding::constructor
         super(data)
 
         @parent.speedX = 0

            @animFrameTimeLeft = animation.frames[@animFrame][6] + @animFrameTimeLeft


    update: (cycleLengthMs) ->
        # Animation
        @advanceAnimation cycleLengthMs


            frame[3], # Destination height


    setAnimation: (animName = '', animFrame = 0) -> # Actor::setAnimation
        @animFrame = animFrame
        @animFrameTimeLeft = @animations[animName].frames[0][6]
        @animName = animName


    advanceAnimation: (cycleLengthMs) -> # Actor::advanceAnimation
        animation = @animations[@animName]
        maxFrame = animation.frames.length - 1
        if @animFrame > maxFrame then @animFrame = maxFrame
