Exemplo n.º 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();
        }
Exemplo n.º 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();
        }
Exemplo n.º 3
0
 public Vec2 RequestNewRandomPosition()
 {
     return(Crowd.GetRandomPosition());
 }