コード例 #1
0
        public void SendMonsterToGrave(Monster monster, YugiohGamePlayer player)
        {
            var index = MonsterZones.ToList().FindIndex(z => z.Monster == monster);

            MonsterZones[index] = new MonsterZone();
            player.DiscardPile.Add(monster);
            monster.Location = CardLocation.Graveyard;
        }
コード例 #2
0
 public YugiohTurn(YugiohGamePlayer player, YugiohGame game, int turnCount)
 {
     _player     = player;
     _turnOfGame = turnCount;
     _game       = game;
 }