Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Document AvatarMixer.update is required for avatar presence. #83

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/AvatarMixer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,8 @@ class AvatarMixer extends AssignmentClient {


/*@sdkdoc
* Game loop update method that should be called multiple times per second to keep the avatar mixer up to date with user
* client avatar state.
* Game loop update method that needs to be called multiple times per second to keep the avatar mixer up to date with user
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually, on a second thought. How many times per second does this mean? 5? 30? 60?

* client avatar state, and so have the user client avatar be "present" in the domain.
*/
update(): void {
this.#_avatarManager.updateMyAvatar();
Expand Down