untested visualizer complete.

This commit is contained in:
2018-11-19 21:07:23 -06:00
parent 02d814b4f7
commit 57e76be95d
6 changed files with 143 additions and 21 deletions

View File

@@ -45,7 +45,7 @@ namespace RhythmBullet.Zer01HD.UI.Book
Rectangle targetBounds = targetPage.Bounds;
position.X = targetBounds.X + (targetBounds.Width * 0.5f);
position.Y = targetBounds.Y + (targetBounds.Height * 0.5f);
camera.LinearInterpolationToPosition(0.4f, position);
camera.LinearInterpolationToPosition(0.4f, position, (float)gameTime.ElapsedGameTime.TotalSeconds);
if (camera.Position == position)
{
targetPage = null;