Пример #1
0
 private MapUtil()
 {
     mapConfig = MapConfig.getInstance();
     ballConfig = BallConfig.getInstance();
     row = Convert.ToInt32(mapConfig.MapWidth() / mapConfig.TileWidth());
     col = Convert.ToInt32(mapConfig.MapHeight() / mapConfig.TileHeight());
 }