public void earsePoint a Point b mapaxay = 0; mapbxby = 0; restBlock -= 2;
This method is used to erase (remove) two points from the map and update the remaining number of blocks.
The method takes two arguments:
- Point a: the first point to be erased.
 - Point b: the second point to be erased.
 
The method sets the value at the position of point a and point b to 0 (which represents an empty space) on the map array. It then subtracts 2 from the restBlock variable, which keeps track of the number of remaining blocks on the map.
Overall, this method appears to be used in a game or simulation where the map is being updated dynamically
原文地址: https://www.cveoy.top/t/topic/fdOs 著作权归作者所有。请勿转载和采集!