Added a FIFO Queue
Included Queue.js
Added resetGame method
Debug things
Buildings now receive power

Added fields powerRequirement and recievePower.
Removed typing and isConnected
Powerlines now deliver power

Level asks the map to redistribute power if there has been a change to the power network
Powerlines now deliver power

Seperated the building list into a powerplant list and a building list. When there is a change to the power network, the map will reset the state of the buildings and ask the powerplants to redistribute their power
Powerplants can distribute their power

Created a redistributePower method, does a BFS through the powerlines connected to the powerplant
Powerlines goes yellow when supplying power
Merges
Merges