Renamed roomFactory to mapFactory.
Added the Object class. Is going to contain doors, exit, entrance etc.
Don't store the dungeon entrance tile on the map, but create an object for it and render that object on the map.
Added an array for object colors.
A map is going to hold several objects.
No need to pass the game object to the generate function, it allready has a game reference.
Changed the index.html to load the correct .js files.
MapFactory is now responsible for adding objects, such as the dungeons exit and entrance.
The renderer now has a function to draw each object in the object list.
Had to create a copy of the position. I want the data, not the reference to the original object.
Added and initialized the objects.
Removed testing code.
Made changes to the object class, some renamed vars.
MapFactory no longer creates a door on the map, but it makes an object that is a door!
Updated Gruntfile and minified versions.