示例#1
0
        public override bool PickUp(GMPlayer player)
        {
            if (this.ContainsPieces())
            {
                var piece = Pieces.First();
                player.Holding = piece;
                Pieces.Remove(piece);
                return(true);
            }

            return(false);
        }