27 lines
639 B
JavaScript
27 lines
639 B
JavaScript
|
/**
|
||
|
* System takes care of updating all the entities (based on their component data)
|
||
|
* @param apiSystem GameLib.API.System
|
||
|
* @constructor
|
||
|
*/
|
||
|
GameLib.System.Animation = function(
|
||
|
apiSystem
|
||
|
) {
|
||
|
GameLib.System.call(
|
||
|
this,
|
||
|
apiSystem
|
||
|
);
|
||
|
};
|
||
|
|
||
|
GameLib.System.Animation.prototype = Object.create(GameLib.System.prototype);
|
||
|
GameLib.System.Animation.prototype.constructor = GameLib.System.Animation;
|
||
|
|
||
|
GameLib.System.Animation.prototype.start = function() {
|
||
|
console.log('todo: animation system start');
|
||
|
};
|
||
|
|
||
|
|
||
|
GameLib.System.Animation.prototype.stop = function() {
|
||
|
console.log('todo: animation system stop');
|
||
|
};
|
||
|
|