예제 #1
0
 public override void execute()
 {
     CommandGoToScreen cmd;
     if (Session.Instance.nextEntity())
     {
         if (Options.Instance.disableFreePractice == false)
         {
             cmd = new CommandGoToScreen(_reciever, Constants.Screen.Memorize);
         }
         else
         {
             cmd = new CommandGoToScreen(_reciever, Constants.Screen.ForcedPractice);
         }
     }
     else
     {
         cmd = new CommandGoToScreen(_reciever, Constants.Screen.Recall);
     }
     //CommandGoToScreen cmd = new CommandGoToScreen(_reciever, Constants.Screen.Memorize);
     cmd.execute();
 }
예제 #2
0
        public override void execute()
        {
            CommandGoToScreen cmd;

            if (Session.Instance.nextEntity())
            {
                if (Options.Instance.disableFreePractice == false)
                {
                    cmd = new CommandGoToScreen(_reciever, Constants.Screen.Memorize);
                }
                else
                {
                    cmd = new CommandGoToScreen(_reciever, Constants.Screen.ForcedPractice);
                }
            }
            else
            {
                cmd = new CommandGoToScreen(_reciever, Constants.Screen.Recall);
            }
            //CommandGoToScreen cmd = new CommandGoToScreen(_reciever, Constants.Screen.Memorize);
            cmd.execute();
        }