BeginScroll() public method

public BeginScroll ( MegaMan.Engine.ScreenHandler next, PointF playerPos ) : void
next MegaMan.Engine.ScreenHandler
playerPos MegaMan.Common.Geometry.PointF
return void
コード例 #1
0
ファイル: StageHandler.cs プロジェクト: laazer/cs_megaman
        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();
        }