Module for partitioning level to equal grid
Class for building random connection network from sections
Connects sections together @param sections: List of Sections to connect @param start_section: optional parameter specifying starting section
Builds path of connected sections @param start_section: Section to start connecting from @param sections: List of sections to connect
Class for partitioning level to equal grid
Connects section in given location to its neighbours
Creates partitioning for a given level with connection points @param level: Level to partition @returns: List of connected sections
Split range into equal sized chunks @param length: range to split @param sections: amount of sections to split @returns: list containing end points of chunks