boxkit.library._region module
Module with implementation of the Region class.
- class boxkit.library._region.Region(blocklist, **attributes)
Bases:
object
Base class for a Region.
- _in_collision(block)
Check if a block is in collision with the region
- _map_blocklist(blocklist)
Private method for initialization
- _set_attributes(attributes)
` Private method for intialization
- _update_bounds()
Update block bounds using the blocklist
- type_ = 'base'