Const fixes.
This commit is contained in:
@@ -106,7 +106,7 @@ void Transition::StartTransitioning( ScreenMessage send_when_done )
|
|||||||
m_fSecsIntoTransition = 0.0;
|
m_fSecsIntoTransition = 0.0;
|
||||||
}
|
}
|
||||||
|
|
||||||
float Transition::GetLengthSeconds()
|
float Transition::GetLengthSeconds() const
|
||||||
{
|
{
|
||||||
return m_BGAnimation.GetLengthSeconds();
|
return m_BGAnimation.GetLengthSeconds();
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -29,9 +29,9 @@ public:
|
|||||||
|
|
||||||
virtual void StartTransitioning( ScreenMessage send_when_done = SM_None );
|
virtual void StartTransitioning( ScreenMessage send_when_done = SM_None );
|
||||||
|
|
||||||
bool IsTransitioning() { return m_State == transitioning; };
|
bool IsTransitioning() const { return m_State == transitioning; };
|
||||||
bool IsFinished() { return m_State == finished; };
|
bool IsFinished() const { return m_State == finished; };
|
||||||
float GetLengthSeconds();
|
float GetLengthSeconds() const;
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user