From 014874367d7800aafbcf3ce624380b19a5cfe781 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Thu, 3 Jan 2019 12:07:47 -0500 Subject: Commit changes --- src/objecttypes.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/objecttypes.js') diff --git a/src/objecttypes.js b/src/objecttypes.js index e9f69f0..4dab85c 100644 --- a/src/objecttypes.js +++ b/src/objecttypes.js @@ -6,8 +6,7 @@ function Background(x_offset) { this.x_speed = 10 this.objectType = "background"; -} - +} Background.prototype = Object.create(GameObject.prototype); Background.prototype.constructor = Background; -- cgit v1.3