 
 		return animatableProperties
 
+	toInspect: ->
+		return "<#{@constructor.name} id:#{@id} isAnimating:#{@isAnimating} [#{_.keys(@options.properties)}]>"
+
+
 	##############################################################
 	## EVENT HELPERS
 


# Todo: this would normally be BaseClass but the properties keyword
# is not compatible and causes problems.
class exports.Animation extends EventEmitter

	constructor: (options={}) ->


		@_originalState = @_currentState()
		@_repeatCounter = @options.repeat

	@define "isAnimating",
		get: -> @ in @options.layer.context.animations

	start: =>

		if @options.layer is null
