void TurnInformation::addPause(int msecs)
{
if( !turnReady_ )
- pause_ += msecs;
+ paused_ += msecs;
+
}
void TurnInformation::turnReady(int msecs)
turnReady_ = true;
}
-int TurnInformation::getTimeAfter()
+int TurnInformation::getTimeAfter() const
{
if( turnReady_ )
return timeAfter_;