public float minigameImportanceWeight; // takes into account that some minigames are more important on learning in respect to others public MiniGameLearnRules() { // default learn rules voteLogic = VoteLogic.SuccessRatio; logicParameter = 0f; minigameVoteSkewOffset = 0f; minigameImportanceWeight = 1f; }
public ActionResult Vote(string UserId, string Question, string Vote) { VoteForm vote = new VoteForm { UserId = UserId, Question = Question, Vote = Vote }; var castVote = new VoteLogic(); castVote.CastVote(vote); return(RedirectToAction("Vote")); }