SpreadPlayers constructor

SpreadPlayers(
  1. Location center, {
  2. required Entity target,
  3. required double distance,
  4. required double maxRange,
  5. int? maximumHeight,
  6. bool respectTeams = false,
})

The Spawnpoint Widget sets a players spawnpoint to the current or specified position

Implementation

SpreadPlayers(
  this.center, {
  required this.target,
  required this.distance,
  required this.maxRange,
  this.maximumHeight,
  this.respectTeams = false,
});