RoomKit class abstract final

A room, as a recipe.

Params, all optional but size:

  • at — the middle of the floor, [x, y, z]; y is the floor's height.
  • size — the inside, [width, height, depth].
  • doors — [{side, offset, width, height, sill}], side one of north (−Z), south, east, west; offset along the wall from its middle.
  • materials — {floor, wall, ceiling}, the names the brushes use.
  • roofed — false leaves the ceiling off. probes — false places none.
  • clutter — {count, size, material, margin}: boxes the seed places on the floor, clear of the walls by margin and of every doorway's approach, and not on top of each other.

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Methods

build(LevelSketch sketch, LevelRecipe recipe) → void