public static PlayingStatus Create(Fixture fixture, Child player)
        {
            var newPlayingStatus = new PlayingStatus
            {
                Fixture = fixture,
                Player = player
            };

            player.PlayingStatuses.Add(newPlayingStatus);
            fixture.PlayingStatuses.Add(newPlayingStatus);

            return newPlayingStatus;
        }
示例#2
0
        static public PlayingStatus Create(Fixture fixture, Child player)
        {
            var newPlayingStatus = new PlayingStatus
            {
                Fixture = fixture,
                Player  = player
            };

            player.PlayingStatuses.Add(newPlayingStatus);
            fixture.PlayingStatuses.Add(newPlayingStatus);

            return(newPlayingStatus);
        }