mob_layout

Screen-relative layout and bounding-box queries for Mob.

Split out of mob.py for readability; MobLayoutMixin is mixed into Mob and is not useful standalone (self is always a Mob).

Classes

MobLayoutMixin

Bounding boxes, boundary queries, and screen-relative placement (move_to_screen_edge, move_next_to, align_with, ...).