示例#1
0
        protected virtual UserFormSubmission MakeDrawing(LobbyPlayer player, DrawingType type)
        {
            if (type == DrawingType.Head)
            {
                return(CommonSubmissions.SubmitSingleDrawing(player.UserId, Constants.Drawings.Head));
            }
            else if (type == DrawingType.Body)
            {
                return(CommonSubmissions.SubmitSingleDrawing(player.UserId, Constants.Drawings.Body));
            }
            else if (type == DrawingType.Legs)
            {
                return(CommonSubmissions.SubmitSingleDrawing(player.UserId, Constants.Drawings.Legs));
            }

            return(null);
        }
示例#2
0
 protected virtual UserFormSubmission MakeDrawing(LobbyPlayer player)
 {
     return(CommonSubmissions.SubmitSingleDrawing(player.UserId, Drawings[Rand.Next(Drawings.Count)]));
 }
示例#3
0
 protected virtual UserFormSubmission MakeDrawing(LobbyPlayer player)
 {
     return(CommonSubmissions.SubmitSingleDrawing(player.UserId));
 }