예제 #1
0
파일: Player.cs 프로젝트: longde123/grove
        public Player(PlayerParameters p, PlayerType controllerType)
        {
            Name     = p.Name;
            AvatarId = p.AvatarId;
            Type     = controllerType;

            _assignedDamage = new AssignedDamage(this);
            _battlefield    = new Battlefield(this);
            _hand           = new Hand(this);
            _graveyard      = new Graveyard(this);
            _library        = new Library(this);
            _exile          = new Exile(this);
            _deck           = p.Deck;
        }
예제 #2
0
        public Player(PlayerParameters p, PlayerType controllerType)
        {
            Name = p.Name;
              AvatarId = p.AvatarId;
              Type = controllerType;

              _assignedDamage = new AssignedDamage(this);
              _battlefield = new Battlefield(this);
              _hand = new Hand(this);
              _graveyard = new Graveyard(this);
              _library = new Library(this);
              _exile = new Exile(this);
              _deck = p.Deck;
        }