Skip to content

Commit

Permalink
little comment
Browse files Browse the repository at this point in the history
  • Loading branch information
mathieuLivebardon authored and valentinMachado committed Sep 19, 2022
1 parent 657d1d1 commit 127e1b7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions client/assets/worldScripts/Avatar.js
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,11 @@ module.exports = class Avatar {
);
}

/**
* It applies the commands to the avatar
* @param {udviz.Game.GameObject} gameObject - The game object that the script is attached to.
* @param {udviz.Game.WorldContext} worldContext - the context of the world, which contains the asstetsManager, the world, the dt...
*/
applyCommands(gameObject, worldContext) {
const dt = worldContext.getDt();
const Command = Game.Command;
Expand Down

0 comments on commit 127e1b7

Please sign in to comment.