Exemplo n.º 1
0
    void MoveToDeck()
    {
        CGDeckZone deck     = m_visualManager.GetPlayerDeck();
        Sequence   sequence = deck.MoveCardToZone(m_card, 0.0f);   // Place card on top of deck (instant)

        sequence.Append(m_card.SetFaceDirectionSeq(false, 0.0f));  // Turn card face-down (instant)
        sequence.AppendCallback(MoveToHand);
    }
Exemplo n.º 2
0
    void MoveToChannel()
    {
        CGZone   channel  = m_visualManager.GetOpponentChannel(m_channel);
        Sequence sequence = channel.MoveCardToZone(m_card);         // Move card to channel

        sequence.Insert(0, m_card.SetFaceDirectionSeq(true, 0.4f)); // Turn card face-up
        sequence.AppendCallback(FinishCommand);
    }