(function(window){	function ScoreBoard()	{		this.initialize();	}	ScoreBoard.prototype = new Text();		// Constructor:		ScoreBoard.prototype.Text_initialize = ScoreBoard.prototype.initialize;	// Unique to avoid overiding base class		/**		* INIT METHODS		*/		ScoreBoard.prototype.initialize = function()		{			this.Text_initialize();			this.font		= '24px OCRAStd';			this.color		= '#000';			this.textAlign	= 'right';			this.text		= 'SCORE: 0';		}		ScoreBoard.prototype.update = function(score)		{			this.text 	= 'SCORE: ' + score;			this.color	= score < 0 ? '#FF0000' : '#000';		}	window.ScoreBoard = ScoreBoard;}(window));
