Beamable SDK
Public Member Functions | Public Attributes | Protected Member Functions | Properties | List of all members
GamePlayer Class Reference
Inheritance diagram for GamePlayer:
Inheritance graph
Collaboration diagram for GamePlayer:
Collaboration graph

Public Member Functions

void Awake ()
void TrackKill ()
RenderDeath Die (long deathFrame)
void ReceivedAction (CharacterActionEvent evt)
void Bind (RelayPlayer player, Vector3Int startingPosition)
RenderMove Move (Vector3Int pos)
IEnumerator RenderShield ()
IEnumerator DeactivateShield ()
IEnumerator RenderDeath (RenderDeath _)
IEnumerator RenderMove (RenderMove move)

Public Attributes

long Dbid => self.dbid
SpriteRenderer sprite
int gameScore
TurnPreviewBehaviour TurnPreviewPrefab
GameObject ShieldPrefab
ActionMenuController actionMenuController
float moveTime
AudioSource walkAudio
AudioSource deathAudio
bool IsAlive = true
long deathFrame = long.MaxValue
StatBehaviour HatStatBehaviour
StatBehaviour AliasStatBehaviour
Vector3Int gridPosition => gridTransform.gridPosition

Protected Member Functions

virtual void Start ()


int Kills [get]
bool IsShielding [get, set]
RelayPlayer Self [get, set]

The documentation for this class was generated from the following file: