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