Skip to content

Commit

Permalink
Update FastImageSequence.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
reindernijhoff authored Nov 20, 2023
1 parent adea136 commit a17e707
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/lib/FastImageSequence.ts
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,9 @@ export default class FastImageSequence {
}

/**
* @public
* @function tick
* @description Register a ready function to be called when the renderer instance is ready.
* @param {(dt: number) => void} func - The function to call.
* Register a tick function to be called on every frame update.
*
* @param tick - The function to be called.
*/
public tick(func: (dt: number) => void) {
this.tickFuncs.push(func);
Expand Down

0 comments on commit a17e707

Please sign in to comment.