Module elementalist::player::avatar

source ·

Structs

  • PlayerAvatar is a marker component for the player’s avatar, i.e. the entity that the player controls. This is used to ensure that only one player avatar is spawned at a time. It also lets us allow a player controller to continue to control the menu and other things without having a sprite on screen or something like that.

Functions