Flesh out guided-dock concept; regress on animation continuity in RA mod

This commit is contained in:
Paul Chote
2010-02-01 11:50:12 +13:00
parent 249c56d82f
commit d6f0839a1a
7 changed files with 47 additions and 28 deletions

View File

@@ -65,7 +65,7 @@ namespace OpenRa.Traits
() => anim.PlayRepeating(GetPrefix(self) + "idle"));
}
public void PlayCustomAnim(Actor self, string name, Action a)
public void PlayCustomAnimThen(Actor self, string name, Action a)
{
anim.PlayThen(GetPrefix(self) + name,
() => { anim.PlayRepeating(GetPrefix(self) + "idle"); a(); });