예제 #1
0
        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));
        }
예제 #2
0
 public virtual void CreateLocation()
 {
     _location = new CardLocation(this);
 }
예제 #3
0
 public virtual void CloneFrom(CardLocation source)
 {
     Location = source.GetValue();
 }