Target() public method

public Target ( Card otherCard, bool isScriptChange ) : void
otherCard Card
isScriptChange bool
return void
Esempio n. 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;
            });
        }