Untarget() public method

public Untarget ( bool isScriptChange ) : void
isScriptChange bool
return void
示例#1
0
        public void CardTarget(int id, bool active)
        {
            Card c = Card.Find(id);

            QueueAction(() =>
            {
                //Program.GameEngine.EventProxy.MuteEvents = true;
                if (active)
                {
                    c.Target(true);
                }
                else
                {
                    c.Untarget(true);
                }
                //Program.GameEngine.EventProxy.MuteEvents = false;
            });
        }