AIPlayerBaseGetReward Method
Implementation of an algorithm that decides the shape the player wants as a reward for completing a puzzle.
Namespace: ProjectLCore.PlayersAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
protected abstract TetrominoShape GetReward(
List<TetrominoShape> rewardOptions,
Puzzle puzzle
)
- rewardOptions ListTetrominoShape
- A nonempty list containing rewards to choose from.
- puzzle Puzzle
- The puzzle that was completed.
TetrominoShapeThe tetromino the player wants to take.