BMFGround.fromMap constructor
- Map map
map => BMFGround
Implementation
BMFGround.fromMap(Map map)
: assert(map['image'] != null),
super.fromMap(map) {
image = map['image'];
width = map['width'];
height = map['height'];
anchorX = map['anchorX'];
anchorY = map['anchorY'];
zoomLevel = map['zoomLevel'];
position = BMFCoordinate.fromMap(map['position']);
bounds = BMFCoordinateBounds.fromMap(map['bounds']);
transparency = map['transparency'];
}