public TwittergotchiController()
 {
     twitter = new Twitter();
     internalTamagotchi = new TamagotchiInternal();
     tamagotchi = new Tamagotchi();
     checkTwitterTimer = new Timer();
      	checkTwitterTimer.Elapsed += new ElapsedEventHandler(checkTwitter);
      	checkTwitterTimer.Interval=5000;
      	checkTwitterTimer.Enabled=true;
     string[] request = twitter.checkForTwittergotchiRequests("myGotchi", "myGotchi");
     doHandleRequest(request[0], request[1]);
 }
Exemplo n.º 2
0
 public void Init()
 {
     tamagotchi = new Tamagotchi();
 }