예제 #1
0
파일: Duel.cs 프로젝트: IceYGO/ygosharp
 public static Duel Create(uint seed)
 {
     MtRandom random = new MtRandom();
     random.Reset(seed);
     IntPtr pDuel = Api.create_duel(random.Rand());
     return Create(pDuel);
 }
예제 #2
0
        public static Duel Create(uint seed)
        {
            MtRandom random = new MtRandom();

            random.Reset(seed);
            IntPtr pDuel = Api.create_duel(random.Rand());

            return(Create(pDuel));
        }