Esempio n. 1
0
        public void Add(SensorTargetSet otherSet)
        {
            if (otherSet.Count > 0)
            {
                SensorTargetSet.Enumerator setIter = (SensorTargetSet.Enumerator)otherSet.GetEnumerator();

                while (setIter.MoveNext())
                {
                    Add(setIter.Current as SensorTarget);
                }
            }
        }
Esempio n. 2
0
 public TouchSensor()
 {
     senseSetIter = (SensorTargetSet.Enumerator)senseSet.GetEnumerator();
 }
 public EndofPathSensor()
 {
     senseSetIter = (SensorTargetSet.Enumerator)senseSet.GetEnumerator();
 }
Esempio n. 4
0
 public ScanSensor()
 {
     WantThingUpdate = true;
     category        = Sensor.Category.Scan;
     senseSetIter    = (SensorTargetSet.Enumerator)senseSet.GetEnumerator();
 }
Esempio n. 5
0
 public HoldingObjectSensor()
 {
     senseSetIter = (SensorTargetSet.Enumerator)senseSet.GetEnumerator();
 }
 public MissileHitSensor()
 {
     senseSetIter = (SensorTargetSet.Enumerator)senseSet.GetEnumerator();
 }
Esempio n. 7
0
 public SoundSensor()
 {
     senseSetIter = (SensorTargetSet.Enumerator)senseSet.GetEnumerator();
 }