Skip to content

PlayerDataTrimAlg

Samuel Gomes edited this page Jul 4, 2024 · 6 revisions

PlayerDataTrimAlg

PlayerDataTrimAlg is an abstract base class for the algorithms responsible for managing the states (datapoints) of a PlayerStateGrid. The algorithm uses the method ```trimmedList''' for this purpose.

Constructor

PlayerDataTrimAlg(): void

Methods

trimmedList(pastModelIncs: PlayerState[]): PlayerState[][]

Description

Trims the list of player states passed as input and returns a list containing the updated pastModelIncs in the first position and the removed element(s) in the second position.

Clone this wiki locally