public virtual void BeginScroll(ScreenHandler next, PointF playerPos)
{
scrollDist = 0;
tickdist = (TriggerSize() + OffsetDist()) / ticks;
this.nextHeight = next.Screen.PixelHeight;
this.nextWidth = next.Screen.PixelWidth;
if (direction == Direction.Down) NextScreenY = -height;
else if (direction == Direction.Right) NextScreenX = -width;
else if (direction == Direction.Left) NextScreenX = nextWidth;
else if (direction == Direction.Up) NextScreenY = nextHeight;
Calculate();
}