CameraConfig constructor

CameraConfig({
  1. Size sizeMovementWindow = const Size(50, 50),
  2. bool moveOnlyMapArea = false,
  3. double zoom = 1.0,
  4. double angle = 0.0,
  5. GameComponent? target,
  6. bool smoothCameraEnable = false,
  7. double smoothCameraSpeed = 1.0,
})

Implementation

CameraConfig({
  this.sizeMovementWindow = const Size(50, 50),
  this.moveOnlyMapArea = false,
  this.zoom = 1.0,
  this.angle = 0.0,
  this.target,
  this.smoothCameraEnable = false,
  this.smoothCameraSpeed = 1.0,
});