Ejemplo n.º 1
0
 public SolarSystem()
 {
     InitializeComponent();
     Input.Mouse.Initialize(this);//init input
     world = new World(PlanetFactory.Tree);
     world.Bounds = Bounds;
     counter = new DateCounter(new TimeSpan(0, 23, 30, 0), world);
     counter.DateChanged += counter_DateChanged;
     timer.Interval = InitalTimerInterval;
     timer.Start();
 }
Ejemplo n.º 2
0
 public SolarSystem()
 {
     InitializeComponent();
     Input.Mouse.Initialize(this);//init input
     world                = new World(PlanetFactory.Tree);
     world.Bounds         = Bounds;
     counter              = new DateCounter(new TimeSpan(0, 23, 30, 0), world);
     counter.DateChanged += counter_DateChanged;
     timer.Interval       = InitalTimerInterval;
     timer.Start();
 }