Exemplo n.º 1
0
    public void Execute(Action Caller)
    {
        ChampionCard card = (ChampionCard)Caller.CallerCard;

        //resize card
        card.Shrink();

        Lane targetLane = GameWorld.Instance.Lanes.Find(x => x.name == Caller.Target);

        if (null != targetLane)
        {
            targetLane.AddCard(card, card.Owner.Side);
        }
    }