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)); }
public StateEngine(Galaxy galaxy, IStateTicker stateTicker) { Galaxy = galaxy; stateTicker.Tick += stateTicker_Tick; }