Exemplo n.º 1
0
        public void SetZoneData(PCZone zone, ZoneData zoneData)
        {
            // first make sure that the data doesn't already exist
            if (this.zoneData.ContainsKey(zone.Name))
            {
                throw new AxiomException("A ZoneData associated with zone " + zone.Name +
                                         " already exists. PCZSceneNode::setZoneData");
            }

            //mZoneData[zone->getName()] = zoneData;
            // is this equivalent? i think so...
            this.zoneData.Add(zone.Name, zoneData);
        }
Exemplo n.º 2
0
		public void SetZoneData( PCZone zone, ZoneData zoneData )
		{

			// first make sure that the data doesn't already exist
			if ( this.zoneData.ContainsKey( zone.Name ) )
			{
				throw new AxiomException( "A ZoneData associated with zone " + zone.Name + " already exists. PCZSceneNode::setZoneData" );
			}

			//mZoneData[zone->getName()] = zoneData;
			// is this equivalent? i think so...
			this.zoneData.Add( zone.Name, zoneData );
		}