コード例 #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
ファイル: Form1.cs プロジェクト: dd8kb/CrowdSimulator
        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
ファイル: Human.cs プロジェクト: polytronicgr/CrowdSimulator
 public Vec2 RequestNewRandomPosition()
 {
     return(Crowd.GetRandomPosition());
 }