BeginScroll() 공개 메소드

public BeginScroll ( MegaMan.Engine.ScreenHandler next, PointF playerPos ) : void
next MegaMan.Engine.ScreenHandler
playerPos MegaMan.Common.Geometry.PointF
리턴 void
예제 #1
0
        private void OnScrollTriggered(JoinHandler join)
        {
            currentJoin = join;

            Player.Paused = true;
            nextScreen = screens[join.NextScreenName];
            join.BeginScroll(nextScreen, PlayerPos.Position);

            updateFunc = () => join.Update(PlayerPos);
            join.ScrollDone += ScrollDone;

            drawFunc = DrawJoin;

            StopScreen();
        }