SunsetHigh.SmoothMovingSprite.smoothMoveCenter C# (CSharp) Method

smoothMoveCenter() public method

Requests that the Sprite begin smoothly moving its center to a specified point within the default amount of time
public smoothMoveCenter ( int x, int y ) : void
x int X coordinate of the new location (center)
y int Y coordinate of the new location (center)
return void
        public void smoothMoveCenter(int x, int y)
        {
            this.smoothMoveCenter(x, y, DEFAULT_SMOOTH_TIME);
        }

Same methods

SmoothMovingSprite::smoothMoveCenter ( int x, int y, float time ) : void