PathFollower concept

This commit is contained in:
Richard Davey 2017-09-25 03:18:54 +01:00
parent a534629980
commit 8861464ec1

View file

@ -0,0 +1,30 @@
var Class = require('../utils/Class');
var Vector2 = require('../math/Vector2');
var PathFollower = new Class({
initialize:
function PathFollower (path, gameObject, t)
{
if (t === undefined) { t = 0; }
this.path = path;
this.gameObject = gameObject;
this.t = t;
//
// this.useFrames = false;
},
update: function (time, delta)
{
}
});
module.exports = PathFollower;