示例#1
0
        public Form1()
        {
            InitializeComponent();

            this.image = new Bitmap(field.Width, field.Height, PixelFormat.Format32bppArgb);

            this.crowd = new Crowd(image);

            this.crowd.Init(400, 3);

            this.ticker.Start();
        }
示例#2
0
        public Form1()
        {
            InitializeComponent();

            this.image = new Bitmap(field.Width, field.Height, PixelFormat.Format32bppArgb);

            this.crowd = new Crowd(image);

            this.crowd.Init(400, 3);

            this.ticker.Start();
        }
示例#3
0
 public Vec2 RequestNewRandomPosition()
 {
     return(Crowd.GetRandomPosition());
 }