本文整理汇总了C#中Card.Stand方法的典型用法代码示例。如果您正苦于以下问题:C# Card.Stand方法的具体用法?C# Card.Stand怎么用?C# Card.Stand使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Card
的用法示例。
在下文中一共展示了Card.Stand方法的5个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的C#代码示例。
示例1: StandUnit
public void StandUnit(Card card)
{
card.bBecomeStandThisTurn = true;
card.Stand();
Game.SendPacket(GameAction.STAND_UNIT, card.pos);
card.CheckAbilities(CardState.Stand, card);
Game.field.CheckAbilitiesExcept(card.pos, CardState.Stand_NotMe, card);
}
示例2: SoulChargeFromDrop
public void SoulChargeFromDrop(Card card)
{
card.Stand();
Game.field.MoveToSoul(card);
Game.field.RemoveFromDropzone(card);
Game.field.FixSoulPosition();
Game.SendPacket(GameAction.FROM_DROP_TO_SOUL, card.cardID);
}
示例3: AddToDropZone
public void AddToDropZone(Card card)
{
LastCardSentToDrop = card;
card._Coord = CardCoord.DROP;
card.NormalizeMaterial();
DropZone.Add(card);
card.TurnUp();
card.Stand();
card.MoveAndRotate(fieldInfo.GetPosition((int)fieldPositions.DROP_ZONE) + new Vector3(0.0f, 0.01f * (DropZone.Count - 1), 0.0f),
new Vector3(0.0f, 180.0f, 0.0f));
//card.GetGameObject().transform.position = fieldInfo.GetPosition((int)fieldPositions.DROP_ZONE) + new Vector3(0.0f, 0.01f * (DropZone.Count - 1), 0.0f);
//card.GetGameObject().transform.eulerAngles = new Vector3(0.0f, 180.0f, 0.0f);
}
示例4: MoveToSoul
public void MoveToSoul(Card card)
{
card.Stand();
Game.field.MoveToSoul(card.pos);
Game.field.RemoveFrom(card.pos);
Game.field.FixSoulPosition();
Game.SendPacket(GameAction.FROM_FIELD_TO_SOUL, card.pos);
}
示例5: ResetCard
public void ResetCard(Card card)
{
//Reseting current status.
card.Stand();
card.unitAbilities.UnsetBool(1);
card.unitAbilities.UnsetBool(2);
card.unitAbilities.UnsetBool(3);
card.unitAbilities.UnsetBool(4);
card.ResetEndTurnEffects();
card.ResetPower();
}