Exemple #1
0
        private GameSetupParcelable(Parcel parcel)
        {
            var seats = parcel.CreateTypedArray(FactionParcelable.GetCreator())
                        .Cast <FactionParcelable>()
                        .Select(fp => fp.Faction)
                        .ToList();
            int firstPlayer = parcel.ReadInt();

            GameSetup = GameSetup.Create(seats, firstPlayer);
        }