Clone constructor

Clone(
  1. Area area, {
  2. required Location to,
  3. Dimension? from,
  4. Dimension? into,
})

The clone command clones an Area to another Location with different modes. Example:

Clone(
	Area(x1:0,y1:0,z1:0,x2:10,y2:10,z2:10),
	to: Location.here()
)
⇒ clone 0 0 0 10 10 10 ~ ~ ~

Implementation

Clone(
  this.area, {
  required this.to,
  this.from,
  this.into,
})  : type = '',
      mode = null;