public override void CloneFrom(CardLocation source) { base.CloneFrom(source); if (!source.IsBattlefield()) { return; } var cardFieldLocation = source as CardFieldLocation; if (cardFieldLocation == null) { return; } var cell = cardFieldLocation.GetCell(); ToCell(Card.GetChief().GetEngine().Field.GetCell(cell.X, cell.Y)); }
public virtual void CreateLocation() { _location = new CardLocation(this); }
public virtual void CloneFrom(CardLocation source) { Location = source.GetValue(); }