function BattleshipGame(primaryDisplay, trackingDisplay) {
		//"this" refers to the current instance of whatever function Type we're currently in.
		//The following lines are declaring, and populating two member variables on this BattleshipGame instance.
		//The "type" of each of variable would be a 
		this.primaryDisplay = primaryDisplay;
		this.trackingDisplay = trackingDisplay;

		//Target FPS = 60
		//Framelength = Length of 1 second / Target FPS
		//Framelength = Size of each 60th chunk of a second. One frame should be drawn for
		//each of these chunks to reach the target FPS.
		this.frameLength = 1000.0 / 60.0;

		//Set the game's current state to INITIALIZING
		this.state = GAME_STATES.INITIALIZING;
	}
//Constructor function for BattleshipGame "class"
Constructor function for BattleshipGame "class"
Constructor function for BattleshipGame " class "
function BattleshipGame(primaryDisplay, trackingDisplay) {
		this.primaryDisplay = primaryDisplay;
		this.trackingDisplay = trackingDisplay;
		this.frameLength = 1000.0 / 60.0;
		this.state = GAME_STATES.INITIALIZING;
	}
function BattleshipGame ( primaryDisplay , trackingDisplay ) { this . primaryDisplay = primaryDisplay ; this . trackingDisplay = trackingDisplay ; this . frameLength = 1000.0 / 60.0 ; this . state = GAME_STATES . INITIALIZING ; }
Constructor function for BattleshipGame "class"
Constructor function for BattleshipGame " class "
//"this" refers to the current instance of whatever function Type we're currently in. //The following lines are declaring, and populating two member variables on this BattleshipGame instance. //The "type" of each of variable would be a  //Target FPS = 60 //Framelength = Length of 1 second / Target FPS //Framelength = Size of each 60th chunk of a second. One frame should be drawn for //each of these chunks to reach the target FPS. //Set the game's current state to INITIALIZING