Allow entities to be extended to right

This commit is contained in:
Eric Kotato 2021-08-24 12:42:56 +03:00
parent f206cb7bbb
commit 8bfd7314f0

View file

@ -74,6 +74,9 @@ public:
_offset -= extent;
_length += extent;
}
void extendToRight(int extent) {
_length += extent;
}
void shrinkFromRight(int shrink) {
_length -= shrink;
}