Merge repair and rearm anim traits into WithResupplyAnimation
This is the safest approach to avoid conflicts/visual glitches when the host is responsible for both resupply types. The new trait will simply play a looping animation as long as the actor is resupplying in any form.
This commit is contained in:
@@ -311,7 +311,12 @@ namespace OpenRA.Mods.Common.Traits
|
||||
}
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface INotifyRearm { void Rearming(Actor host, Actor other); }
|
||||
public interface INotifyRearm
|
||||
{
|
||||
void RearmingStarted(Actor host, Actor other);
|
||||
void Rearming(Actor host, Actor other);
|
||||
void RearmingFinished(Actor host, Actor other);
|
||||
}
|
||||
|
||||
[RequireExplicitImplementation]
|
||||
public interface IRenderInfantrySequenceModifier
|
||||
|
||||
Reference in New Issue
Block a user