Remove now obsolete clock usages.

This commit is contained in:
Thomas Müller 2016-11-06 10:06:09 +01:00
parent 8894e5f73a
commit 5f2bf165a2
3 changed files with 2 additions and 8 deletions

View File

@ -265,7 +265,7 @@ protected override void Update()
base.Update();
foreach (Framework.Graphics.Drawable d in Children)
d.Position -= new Vector2(0, (float)(d.Scale.X * (Clock.ElapsedFrameTime / 20)));
d.Position -= new Vector2(0, (float)(d.Scale.X * (Time.Elapsed / 20)));
}
}
}
@ -342,7 +342,7 @@ protected override void Update()
base.Update();
foreach (Framework.Graphics.Drawable d in Children)
d.Position -= new Vector2(0, (float)(d.Scale.X * (Clock.ElapsedFrameTime / 20)));
d.Position -= new Vector2(0, (float)(d.Scale.X * (Time.Elapsed / 20)));
}
}
}

View File

@ -229,9 +229,6 @@ private void transformRoll(TransformComboRoll transform, ulong currentValue, ulo
{
Flush(false, typeof(TransformComboRoll));
if (Clock == null)
return;
if (RollingDuration < 1)
{
DisplayedCount = Count;

View File

@ -211,9 +211,6 @@ protected void TransformCount(Transform<T> transform, T currentValue, T newValue
Flush(false, type);
if (Clock == null)
return;
if (RollingDuration < 1)
{
DisplayedCount = Count;