Enabled the creation of random collision maps.
Changed the interface to receive the canvas element's object and extend it.