220 pass object update draw

Created gameData object with relevant game data
Updated the calling of all update and draw methods in components and examples