Skip to content

PlayerCharacteristics

Samuel Gomes edited this page Jul 12, 2024 · 7 revisions

PlayerCharacteristics

This class stores learning characteristics.

Constructor and Members

Constructor

PlayerCharacteristics(ability=0,
                        engagement=0, 
                        group_diversity=0): void

Members

Name: expected type Default value Description
ability: float 0 The ability of the learner defined between 0.0 and 1.0.
engagement: float 0 The engagement of the learner defined between 0.0 and 1.0.
group_diversity: float 0 (optional) The diversity of the group the learner is in.

Functions

reset(): void

Description

Sets ability and engagement to 0.

Clone this wiki locally