Added a string to the textlog whenever the user first starts the game.
Added an Interaction Manager that keeps track of the mouse position and sets the event listeners for it.
The game now has one Interaction Manager and it pushes the interactive UI elements in it.
The render object no longer holds the mouse position or does update the mouse position.
A container should not be rendered if the alpha level is 0.
An element now holds a width property, height property and a hover property.
Added the new item slot image to the index.html page.
Removed unnecessary check, the mouse position is always set.
All UI Elements have a width, height and parent property now!
Code that creates the bottom bar and adds all slots to it.
Renamed these files because they conflicted with the existing Image and Text objects.
Added functionality for the onClick on interactive elements.
The default console.logs are now removed as they forced you to always provide both functions.
Added some comments to the code!
Removed the "You can't unlock an unlocked scheduler!" as it serves no purpose. Unlocking a locked scheduler isn't possible and a user shouldn't be notified of this.
A new build containing the new UI changes!
Don't check for mouse overs or clicks if the interactive element is invisible.
Code formatting applied to all files.
Centered the player's sprite on screen, not the top left position of the player. Solves issue #8.
A new Grunt build so everyone downloading the new commits has all the correct files.