示例#1
0
        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);
        }
示例#2
0
 public PhysicsManager()
 {
     this.m_conf      = null;
     this.m_phworld3d = null;
 }
示例#3
0
 public PHMap3D(string id, PHWorld3D world)
 {
     this.m_conf      = null;
     this.m_id        = id;
     this.m_phworld3d = world;
 }