BMFGround.withGround constructor

BMFGround.withGround(
  1. Map map
)

Implementation

BMFGround.withGround(Map map) {
  if (null == map) {
    return;
  }

  super.fromMap(map);

  this.image = map['image'];
  this.width = map['width'];
  this.height = map['height'];
  this.anchorX = map['anchorX'];
  this.anchorY = map['anchorY'];
  this.zoomLevel = map['zoomLevel'];
  this.position = BMFCoordinate.coordinate().fromMap(map['position']);
  this.bounds = BMFCoordinateBounds.coordinateBounds().fromMap(map['bounds']);
  this.transparency = map['transparency'];
}