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); }
protected virtual UserFormSubmission MakeDrawing(LobbyPlayer player) { return(CommonSubmissions.SubmitSingleDrawing(player.UserId, Drawings[Rand.Next(Drawings.Count)])); }
protected virtual UserFormSubmission MakeDrawing(LobbyPlayer player) { return(CommonSubmissions.SubmitSingleDrawing(player.UserId)); }