예제 #1
0
        public Form1()
        {
            InitializeComponent();

            //Initialise maps and dbc
            Detour.Initialize(Settings.Default.mmaps);
            Map.Initialize(Settings.Default.maps);
            VMap.Initialize(Settings.Default.vmaps);
            DBCStores.Initialize(Settings.Default.dbc);

            DrawArea = new Bitmap(260, 260);
            //pictureBox_maps.Image = DrawArea;

            timer_ScanInfo.Interval = 100;
        }
예제 #2
0
 public void CreateMap()
 {
     map = new VMap(chunkSize * blocksPerUnit, this);
     map.GenMap();
 }