Esempio n. 1
0
        //小回合结束后,记录位置,让flag为真
        public async Task HandleEvent(AfterRoundOver @event)
        {
            //小回合结束时,如果不在场上,什么都不做
            if (!Card.Status.CardRow.IsOnPlace())
            {
                return;
            }
            //在场上时,让flag为true,准备复活,记录rowposition
            _RoundoverResurrectFlag        = true;
            _RoundOverResurrectRowPosition = Game.GetCardLocation(Card).RowPosition;
            await Task.CompletedTask;

            return;
        }
Esempio n. 2
0
 public async Task HandleEvent(AfterRoundOver @event)
 {
     _resurrectFlag = false;
     await Task.CompletedTask;
 }