Ejemplo n.º 1
0
        /// <summary>
        /// Click a rock object with RockId.
        /// </summary>
        /// <param name="rockId">The RockId.</param>
        public void ClickObject(int rockId)
        {
            RockPegasusObject obj = (RockPegasusObject)this.GetObject(rockId);

            RockPegasusInputHelper.ClickCard(obj.PegasusCard);

            if (obj.PegasusCard.GetEntity().HasSubCards())
            {
                this.tracer.Verbose($"Click {obj.RockId} {obj.Name} HasSubCards");
                RockPegasusInputHelper.DropCard();
            }
            else
            {
                this.tracer.Verbose($"Click {obj.RockId} {obj.Name}");
            }
        }
Ejemplo n.º 2
0
 /// <summary>
 /// Drop a holding pegasus object.
 /// </summary>
 public void DropObject()
 {
     this.tracer.Verbose($"DropCard");
     RockPegasusInputHelper.DropCard();
 }