예제 #1
0
        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);
        }