function Drawable() {
	this.init = function(x, y, width, height) {
		// Defualt variables
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}

	this.speed = 0;
	this.canvasWidth = 0;
	this.canvasHeight = 0;
	this.collidableWith = "";
	this.isColliding = false;
	this.type = "";

	// Define abstract function to be implemented in child objects
	this.draw = function() {
	};
	this.move = function() {
	};
	this.isCollidableWith = function(object) {
		return (this.collidableWith === object.type);
	};
}
/**
 * Creates the Drawable object which will be the base class for
 * all drawable objects in the game. Sets up defualt variables
 * that all child objects will inherit, as well as the defualt
 * functions.
 */
Creates the Drawable object which will be the base class for
all drawable objects in the game. Sets up defualt variables
that all child objects will inherit, as well as the defualt
functions.
Creates the Drawable object which will be the base class for all drawable objects in the game . Sets up defualt variables that all child objects will inherit as well as the defualt functions .
function Drawable() {
	this.init = function(x, y, width, height) {
		this.x = x;
		this.y = y;
		this.width = width;
		this.height = height;
	}
	this.speed = 0;
	this.canvasWidth = 0;
	this.canvasHeight = 0;
	this.collidableWith = "";
	this.isColliding = false;
	this.type = "";
	this.draw = function() {
	};
	this.move = function() {
	};
	this.isCollidableWith = function(object) {
		return (this.collidableWith === object.type);
	};
}
function Drawable ( ) { this . init = function ( x , y , width , height ) { this . x = x ; this . y = y ; this . width = width ; this . height = height ; } this . speed = 0 ; this . canvasWidth = 0 ; this . canvasHeight = 0 ; this . collidableWith = "" ; this . isColliding = false ; this . type = "" ; this . draw = function ( ) { } ; this . move = function ( ) { } ; this . isCollidableWith = function ( object ) { return ( this . collidableWith === object . type ) ; } ; }
Creates the Drawable object which will be the base class for
 all drawable objects in the game.
Creates the Drawable object which will be the base class for all drawable objects in the game .
// Defualt variables
 // Define abstract function to be implemented in child objects
