示例#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();
 }
示例#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();
 }