public void Init() { ObjectLayer = ObjectLayer.GroundPlaceable; _map = new FacilityMap(new InMemoryWorld()); _layer = new FacilityLayer(2, 2); _map.Add(_layer); }
public void Init() { _routeProposal = new PatrolRouteProposal(_map, new XYZ(0, 0, 0), path => { }); var builder = new LayerBuilder(3, 3); builder.PutFloor(new XY(0, 0), new XY(2, 2)); _map.Add(_layer = builder.Build()); }
private FacilityMap CreateEmptyMap() { var map = new FacilityMap(new InMemoryWorld()); _layer = new FacilityLayer(3, 3); map.Add(_layer); return(map); }
public void Init() { _thief = new Thief(this, _map); _thief.Subscribe(this); var builder = new LayerBuilder(3, 3); builder.PutFloor(new XY(0, 0), new XY(2, 2)); AddPortals(builder); _map.Add(_layer = builder.Build()); _upFacingContainer.Put(_upFacingValuable); _rightFacingContainer.Put(_valuable2); }
public void Init() { _map = new FacilityMap(new InMemoryWorld()); _map.Add(new FacilityLayer(3, 3)); }
public void FacilityMap_AddLayer_CanGetLayer() { _map.Add(_sampleLayer); Assert.AreEqual(_sampleLayer, _map[0]); }
public void Init() { _map = new FacilityMap(new InMemoryWorld()); _layer = new FacilityLayer(2, 2); _map.Add(_layer); }
public void Init() { _layer = CreateFacilityLayer(); _map.Add(_layer); _pathFinder = new LayeredPathFinder(_map); }