dont require output belts to be aligned with output ports
This commit is contained in:
@@ -56,9 +56,9 @@ public:
|
||||
// port.tile = the belt tile adjacent to the building
|
||||
// port.direction = direction items flow on that tile
|
||||
//
|
||||
// tryPutItem: place item onto port.tile entering from the opposite side.
|
||||
// Returns false if the tile is not a belt, direction mismatches, or tile full.
|
||||
bool tryPutItem(Port port, Item item);
|
||||
// tryPutItem: place item onto tile.
|
||||
// Returns false if the tile is not a belt, or tile full.
|
||||
bool tryPutItem(QPoint tile, Item item);
|
||||
|
||||
// tryTakeItem: remove and return the leading item from port.tile.
|
||||
// Returns nullopt if tile is not a belt, direction mismatches, or tile empty.
|
||||
@@ -119,3 +119,4 @@ private:
|
||||
std::map<std::pair<int, int>, BeltTile> m_belts;
|
||||
std::map<std::pair<int, int>, SplitterTile> m_splitters;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user