public PHWorld3D createWorld3D(string id) { this.m_phworld3d = new PHWorld3D(id, this); bool flag = !this.m_worlds.ContainsKey(id); PHWorld3D result; if (flag) { this.m_worlds.Add(id, this.m_phworld3d); result = this.m_phworld3d; } else { result = (this.m_worlds[id] as PHWorld3D); } return(result); }
public PhysicsManager() { this.m_conf = null; this.m_phworld3d = null; }
public PHMap3D(string id, PHWorld3D world) { this.m_conf = null; this.m_id = id; this.m_phworld3d = world; }