From e2973d8ec6f67dfbe672fe496c237e02ca8caac5 Mon Sep 17 00:00:00 2001 From: "Theunis J. Botha" Date: Thu, 10 Nov 2016 13:47:40 +0100 Subject: [PATCH] comments --- src/game-lib-component-camera.js | 6 ++++++ src/game-lib-component-follow.js | 9 +++++++++ 2 files changed, 15 insertions(+) diff --git a/src/game-lib-component-camera.js b/src/game-lib-component-camera.js index a5d2bb3..24ab32d 100644 --- a/src/game-lib-component-camera.js +++ b/src/game-lib-component-camera.js @@ -1,3 +1,9 @@ +/** + * + * @param componentId + * @param threeCamera + * @constructor + */ GameLib.D3.ComponentCamera = function( componentId, threeCamera diff --git a/src/game-lib-component-follow.js b/src/game-lib-component-follow.js index 8acfd0d..38a40a6 100644 --- a/src/game-lib-component-follow.js +++ b/src/game-lib-component-follow.js @@ -1,3 +1,12 @@ +/** + * + * @param componentId + * @param targetEntity GameLib.D3.Entity + * @param targetOffset GameLib.D3.Vector3 + * @param minDistance + * @param moveSpeed + * @constructor + */ GameLib.D3.ComponentFollow = function( componentId, targetEntity,