Skip to content

PlayerCharacteristics

Samuel Gomes edited this page Dec 2, 2019 · 7 revisions

PlayerCharacteristics

This class stores the learning characteristics of a player.

Constructor

PlayerCharacteristics(ability, engagement): void

Attributes

Name: expected type Default value Description
ability: float 0 The ability of the player. Ranges between 0.0 and 1.0.
engagement: float 0 The engagement of the player. Ranges between 0.0 and 1.0.

Methods

reset(): void

Description

Sets all characteristics to the default values.

Clone this wiki locally