Closed galenscovell closed 9 years ago
Bridge building fully implemented. Double bridges are built by analyzing the 'created direction' during first bridge construction: if bridge is attempted in same direction (or opposite, in case attempted from attached node) then double bridge created.
Each active cell ('node') within the grid has the ability to connect to other nodes up to a specified 'max' amount. Additionally, any given orthogonal direction from each node can contain two bridges. Making a bridge in a direction when the node is 'full' or the direction already has two bridges erases the current bridges in that direction.
Currently, each node has a connections int[] keeping track of its current bridges. Player input is working for determining connection direction, and single bridges are functional up to the specified max amount (assigned during level creation/parsing). Bridge removal after direction/node is maxed is also working.
Only remaining issue is getting double bridges up and running!