implement Transition::GetTweenTimeLeft

This commit is contained in:
Glenn Maynard
2004-04-25 22:38:55 +00:00
parent cb9efe946d
commit 0121c60e2b
2 changed files with 9 additions and 0 deletions
+8
View File
@@ -105,3 +105,11 @@ float Transition::GetLengthSeconds() const
{
return m_BGAnimation.GetLengthSeconds();
}
float Transition::GetTweenTimeLeft() const
{
if( m_State != transitioning )
return 0;
return m_BGAnimation.GetTweenTimeLeft();
}