function Screen (bounds, usable)
	{
		// Auto instantiate the Screen
		if (!(this instanceof Screen))
			return new Screen (bounds, usable);

		// Check if using defaults
		if (bounds === undefined &&
			usable === undefined)
		{
			this._bounds = robot.Bounds();
			this._usable = robot.Bounds();
			return;
		}

		// Check if assigning bounds values
		if (bounds instanceof robot.Bounds &&
			usable instanceof robot.Bounds)
		{
			this._bounds = bounds;
			this._usable = usable;
			return;
		}

		throw new TypeError ("Invalid arguments");
	}
function Screen (bounds, usable)
	{
		
		if (!(this instanceof Screen))
			return new Screen (bounds, usable);

		
		if (bounds === undefined &&
			usable === undefined)
		{
			this._bounds = robot.Bounds();
			this._usable = robot.Bounds();
			return;
		}

		
		if (bounds instanceof robot.Bounds &&
			usable instanceof robot.Bounds)
		{
			this._bounds = bounds;
			this._usable = usable;
			return;
		}

		throw new TypeError ("Invalid arguments");
	}
function Screen ( bounds , usable ) { // Auto instantiate the Screen if ( ! ( this instanceof Screen ) ) return new Screen ( bounds , usable ) ; // Check if using defaults if ( bounds === undefined && usable === undefined ) { this . _bounds = robot . Bounds ( ) ; this . _usable = robot . Bounds ( ) ; return ; } // Check if assigning bounds values if ( bounds instanceof robot . Bounds && usable instanceof robot . Bounds ) { this . _bounds = bounds ; this . _usable = usable ; return ; } throw new TypeError ( "Invalid arguments" ) ; }
----------------------------------------------------------------------------// Constructor                                                         Screen // ----------------------------------------------------------------------------// //////////////////////////////////////////////////////////////////////////////
---------------------------------------------------------------------------- // Constructor Screen // ---------------------------------------------------------------------------- // //////////////////////////////////////////////////////////////////////////////