Add more assertions to animations engine.

This commit is contained in:
John Preston 2019-06-17 13:53:29 +02:00
parent fa3bf11a7f
commit e7bdcc4155
1 changed files with 4 additions and 0 deletions

View File

@ -36,12 +36,16 @@ void Basic::restart() {
Expects(_started >= 0);
_started = crl::now();
Ensures(_started >= 0);
}
void Basic::markStarted() {
Expects(_started < 0);
_started = crl::now();
Ensures(_started >= 0);
}
void Basic::markStopped() {