public PedestrianPlugIn(IWorld world, Path path, Func<Pedestrian,IObject> ObjectCreator)
			: base()
		{
            this.path = path;
			crowd = new List<Pedestrian>();
            this.ObjectCreator = ObjectCreator;
            this.world = world;            
		}
예제 #2
0
		// constructor
        public Pedestrian(ProximityDatabase pd, Path hpath ) : base(false)
		{
            this.hpath = hpath;            
			// allocate a token for this boid in the proximity database
			proximityToken = null;
			NewPD(pd);

			// reset Pedestrian state
			Reset();
		}