Adjust attacks on offset change.

Should we ever store the other timing segments in
seconds and not beats in the future, we may want
to use this.
This commit is contained in:
Jason Felds
2011-06-30 13:35:25 -04:00
parent 347a4f1d5c
commit 0f6d4cd813
3 changed files with 31 additions and 0 deletions
+8
View File
@@ -104,6 +104,14 @@ vector<RString> AttackArray::ToVectorString() const
return ret;
}
void AttackArray::UpdateStartTimes(float delta)
{
FOREACH(Attack, *this, a)
{
a->fStartSecond += delta;
}
}
/*
* (c) 2003-2004 Chris Danford
* All rights reserved.