NextProblem() public static method

Returns the next Problem for the Player as an instance of the Problem class. If there aren't enough Problems left in the queue, an asynchronous task will retrieve more from the Senseix server.
public static NextProblem ( ) : Problem,
return Problem,
コード例 #1
0
        public void SetStudent(int studentIndex)
        {
            if (availablePlayers.Count <= 0)
            {
                return;
            }

            currentPlayerIndex = studentIndex % availablePlayers.Count;
            if (currentPlayerIndex < 0)
            {
                currentPlayerIndex = availablePlayers.Count + currentPlayerIndex;
            }
            SenseixSession.SelectPlayer(GetCurrentPlayer());
            SetName();
            SetFace();
            ThinksyPlugin.NextProblem();
        }
コード例 #2
0
 private void NextProblem()
 {
     ThinksyPlugin.NextProblem();
     UpdateDisplay();
 }