Example #1
0
            protected override ObjectBuilder<Structure> BuildStructure(ILocation location)
            {
                var structure = new TradingStation
                {
                };

                return new ObjectBuilder<Structure>(structure);
            }
Example #2
0
        public void SetUp()
        {
            _marketPlace = new MarketPlace();
            _sc = new StarCluster { MarketPlace = _marketPlace };
            _sol = new SolarSystem { Position = new Position(_sc, Vector.Zero) };
            _tradingStation = new TradingStation { Position = new Position(_sol, Vector.Zero) };

            _marketPlace.StarCluster = _sc;
            _marketPlace.ObjectType.ShouldBe(ObjectType.MarketPlace);
        }