Example #1
0
 public void StarSystems_Are_Contained_In_Galaxies()
 {
     var g = new Galaxy();
     g.Add(new StarSystem(new Star("bob")));
     Assert.That(g.SystemCount, Is.EqualTo(1));
 }
Example #2
0
 public StateEngine(Galaxy galaxy, IStateTicker stateTicker)
 {
     Galaxy = galaxy;
     stateTicker.Tick += stateTicker_Tick;
 }