Start thinking about how the harv<->proc interaction is going to work
This commit is contained in:
@@ -65,6 +65,12 @@ namespace OpenRa.Traits
|
||||
() => anim.PlayRepeating(GetPrefix(self) + "idle"));
|
||||
}
|
||||
|
||||
public void PlayCustomAnim(Actor self, string name, Action a)
|
||||
{
|
||||
anim.PlayThen(GetPrefix(self) + name,
|
||||
() => { anim.PlayRepeating(GetPrefix(self) + "idle"); a(); });
|
||||
}
|
||||
|
||||
public void PlayCustomAnimBackwards(Actor self, string name, Action a)
|
||||
{
|
||||
anim.PlayBackwardsThen(GetPrefix(self) + name,
|
||||
|
||||
Reference in New Issue
Block a user