Ejemplo n.º 1
0
 public Node(Room room, ProxyHash occlHash)
 {
     index   = room.roomIndex;
     name    = room.name;
     Portals = new List <PortalInfoItem>();
     Edges   = new List <Node>();
     key     = (room.name == "limbo") ? (int)(JenkinsHash.jooat("outside")) : (int)(occlHash.proxyHash ^ JenkinsHash.jooat(room.name));
 }
Ejemplo n.º 2
0
 public MloInterior(string name, Vector3?position, List <Room> Rooms, List <Portal> Portals)
 {
     this.name     = name;
     this.position = position;
     this.occlHash = new ProxyHash(name, (Vector3)position);
     this.Rooms    = Rooms;
     this.Portals  = Portals;
 }