public static SingleTon getInstanse(Players players)
        {
            if (instance == null)
            {
                instance = new SingleTon(players);
                instance.AddBD();
            }

            return(instance);
        }
Example #2
0
        //public Single(Players players)
        //{
        //    this.Players = players;
        //}

        public void Addbd(Players players)
        {
            SingleTon = SingleTon.getInstanse(players);
        }