OpenRA.Mods.Common.Traits.AttackOmni.GetAttackActivity C# (CSharp) Méthode

GetAttackActivity() public méthode

public GetAttackActivity ( Actor self, Target newTarget, bool allowMove, bool forceAttack ) : Activity
self Actor
newTarget OpenRA.Traits.Target
allowMove bool
forceAttack bool
Résultat Activity
        public override Activity GetAttackActivity(Actor self, Target newTarget, bool allowMove, bool forceAttack)
        {
            return new SetTarget(this, newTarget);
        }