コード例 #1
0
 public WorldManager(IServiceContainer services) : base(services)
 {
     registeredSectorsRO = new SectorReadOnlyCollection(registeredSectors);
     registeredObjectsRO = new WorldObjectReadOnlyCollection(registeredObjects);
     registeredPortalsRO = new PortalReadOnlyCollection(registeredPortals);
 }
コード例 #2
0
ファイル: Sector.cs プロジェクト: TheProjecter/romantiquex
 protected Sector(BoundingBox boundary)
 {
     this.boundary            = boundary;
     this.registeredObjectsRO = new WorldObjectReadOnlyCollection(registeredObjects);
 }