Globals.cs 828 B

123456789101112131415161718192021222324
  1. using System;
  2. using System.Collections.Generic;
  3. using System.Linq;
  4. using System.Text;
  5. using System.Threading.Tasks;
  6. using System.Windows.Controls;
  7. using System.Windows.Threading;
  8. namespace TamagochiProject
  9. {
  10. internal class Globals
  11. {
  12. public static TamagochiEntities Connection=new TamagochiEntities();
  13. public static Frame Frame;
  14. public static Animal PickAnimal=new Animal();
  15. public static int Days=0;
  16. public static DispatcherTimer TimerHeight=new DispatcherTimer();
  17. public static DispatcherTimer TimerSatiety=new DispatcherTimer();
  18. public static DispatcherTimer TimerHealth=new DispatcherTimer();
  19. public static DispatcherTimer TimerHappy= new DispatcherTimer();
  20. public static int Height = 200;
  21. public static int Width = 200;
  22. }
  23. }