OpenRA.Mods.Common.Traits.AttackOmni.GetAttackActivity C# (CSharp) Method

GetAttackActivity() public method

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