Skip to content

LayerChange beta ​

Interface of @v12-engine/editor

ts
export interface LayerChange extends MapRect

A rectangle of a layer as it was and as it became. In the layer's own grid: cells, or for the ground the corners of cells, of which there is one more each way

Members ​

after ​

ts
after: Layer;

The rectangle of the layer as it became

before ​

ts
before: Layer;

The rectangle of the layer as it was before

layer ​

ts
layer: LayerName;

The layer that changed