Example #1
0
        public IPHMap createMap(string id)
        {
            this.m_phmap = new PHMap3D(id, this);
            bool   flag = !this.m_maps.ContainsKey(id);
            IPHMap result;

            if (flag)
            {
                this.m_maps.Add(id, this.m_phmap);
                result = this.m_phmap;
            }
            else
            {
                result = this.m_maps[id];
            }
            return(result);
        }
Example #2
0
 public PHWorld3D(string id, PhysicsManager phyMgr)
 {
     this.m_phmap = null;
     this.m_id    = "";
 }