Changed World class, modified constructor function, the messages object is no longer an array rather an object etc., added aditional constants like GAME_WON_MESSAGE, GAME_LOST_MESSAGE etc., added getBlockTexture, getBlockTextureName, createBlockFromTexture, getGiftForBlockAtIndex methods, changed addBlocks method, added removeBodies, removeBlocks, removeCircles, removeGifts methods, changed stopAnimation, addMessage methods, added showMessage, hideMessage, isMessageShown, showLostGameMessage, showWonGameMessage, showLoadNextLevelMessage, hideWonGameMessage, hideLoadNextLevelMessage, added onGameWon and onGameLost events, changed draw method, added initLevel, createBlock, getBlockXCoordinate, getBlockYCoordinate, addBlock, removeMessage, removeMessages, getDefaultWorldWidth, getDefaultWorldHeight. Added Message class with methods. Added GameService class with methods.
Changed World class, modified constructor function, the messages object is
no longer an array rather an object etc., added aditional constants like
GAME_WON_MESSAGE, GAME_LOST_MESSAGE etc., added getBlockTexture,
getBlockTextureName, createBlockFromTexture, getGiftForBlockAtIndex
methods, changed addBlocks method, added removeBodies, removeBlocks,
removeCircles, removeGifts methods, changed stopAnimation, addMessage
methods, added showMessage, hideMessage, isMessageShown,
showLostGameMessage, showWonGameMessage, showLoadNextLevelMessage,
hideWonGameMessage, hideLoadNextLevelMessage, added onGameWon and
onGameLost events, changed draw method, added initLevel, createBlock,
getBlockXCoordinate, getBlockYCoordinate, addBlock, removeMessage,
removeMessages, getDefaultWorldWidth, getDefaultWorldHeight. Added Message
class with methods. Added GameService class with methods.

ranzer/Batty,ranzer/Batty