LayeredStamp struct
A rectangle of tiles of several layers with the events in it, copied and pasted as one.
Public types
- struct Layer
- Tiles of a layer.
Public functions
- auto IsEmpty() const -> bool
- Returns
trueif there's nothing to paste.
Public variables
-
std::
int32_t Width - Width in tiles.
-
std::
int32_t Height - Height in tiles.
- Vector2i Origin
- Where it was copied from, in tiles, where it's pasted if the pointer isn't over the level.
- SmallVector<Layer, 0> Layers
- Tiles of each layer copied.
- EventStamp Events
- Events in the rectangle, by their offsets from its top left corner.