EAM_Sprite.rb
# NB: 'move' and 'curveMove' cannot be played at the same time
'move' and 'curveMove' cannot be played at the same time
' move ' and ' curveMove ' cannot be played at the same time
def moveCirc(cX,cY,frame,ease=:linear_tween,callback=nil)
		calculateCircCentre if !@circX && !@circY
		@transitionCirc["stX"] = @circX
		@transitionCirc["stY"] = @circY
		@transitionCirc["edX"] = cX
		@transitionCirc["edY"] = cY
		@transitionCirc["ease"] = Ease.method(ease)
		@transitionCirc["frame"] = 0
		@transitionCirc["totFrame"] = frame
		@transitionCirc["callback"] = callback
		@transitionCirc["active"] = true
	end
def moveCirc ( cX , cY , frame , ease = :linear_tween , callback = nil ) calculateCircCentre if ! @circX && ! @circY @transitionCirc [ "stX" ] = @circX @transitionCirc [ "stY" ] = @circY @transitionCirc [ "edX" ] = cX @transitionCirc [ "edY" ] = cY @transitionCirc [ "ease" ] = Ease . method ( ease ) @transitionCirc [ "frame" ] = 0 @transitionCirc [ "totFrame" ] = frame @transitionCirc [ "callback" ] = callback @transitionCirc [ "active" ] = true end
NB: 'move' and 'curveMove' cannot be played at the same time
NB : ' move ' and ' curveMove ' cannot be played at the same time
cX
cY
frame
ease
callback