Beispiel #1
0
        public Main()
        {
            InitializeComponent();

            tm = new Tilemap(NX, NY);

            map = new Map(NX, NY);
            map.Location = new Point(10, 20);

            grp_main.Controls.Add(map);
        }
Beispiel #2
0
        public Main(Tilemap ftm)
        {
            InitializeComponent();

            if (tm.NumX >= NX && tm.NumY >= NY)
                tm = ftm;
            else
                tm = new Tilemap(NX, NY);

            map = new Map(NX, NY);
            map.Location = new Point(10, 20);

            grp_main.Controls.Add(map);
        }