Hi,
Thank you for the work you put into this laugh

I have a small problem.
I am using different classes.
I am creating the instances of this classes in my Scheduled main method.
Now I want to run a Scheduled method within this class. It is a classmember function with a wait in it.
The function is called by the constructor of my new class.
But until now the funtiction will not run, even it is called from the constuctor,
Code:
class Controller
{
  public Controller()
  {
    StartGamepad();
  }

  public IEnumerable<ScheduleMethod> StartGamepad()
  {
    //do stuff
    while(true)
    {
      yield return ScheduleMethod.wait(1);
    }
  }
}



Perhaps I don't understand the concept of the Scheduler.

Last edited by jenGs; 05/06/11 01:55.