TileRects constructor

TileRects({
  1. int tileSet = 0,
  2. Rect rect = const Rect.fromLTWH(0, 0, 0, 0),
  3. RSTransform? transform,
  4. List<int>? position,
  5. bool isAnimation = false,
  6. int useAnimation = 0,
})

Implementation

TileRects({
  this.tileSet = 0,
  this.rect = const Rect.fromLTWH(0, 0, 0, 0),
  RSTransform? transform,
  List<int>? position,
  this.isAnimation = false,
  this.useAnimation = 0
}){
  this.position = position??[];
  this.transform = transform ??RSTransform.fromComponents(rotation: 0, scale: 0, anchorX: 0, anchorY: 0, translateX: 0, translateY: 0);
}