﻿// Setup package
HouseTrevethan = function() { }
HouseTrevethan.Math = function() { }

// Generates a random number between two boundaries.
HouseTrevethan.Math.GenerateRandomNumber = function(min, max)
{
	// Check that min is less than max
	if (min > max)
	{
		return 0;
	}

	// Return the random number
	return Math.floor((max - min) * Math.random()) + min;

} // End HouseTrevethan.Math.GenerateRandomNumber
