FactoryLogic module¶
- class FactoryLogic.FactoryLogic(width, height, conveyor, inserter, assembler)[source]¶
Bases:
objectThis class conatins the logic that prevents any collisions between all factory elements.
- Parameters:
width (Int) – Width of the blueprint
height (Int) – Height of the blueprint
conveyor (Array[Array] EnumSort) – Reference to the conveyor directions variable
inserter (Array[Array] EnumSort) – Reference to the inserter directions variable
assembler (Array[Array] BitVec) – Reference to the assembler collision_area variable