Table of Contents

Class SelectRewardAction

Namespace
ProjectL.GameScene.ActionHandling
Assembly
Assembly-CSharp.dll

Represents the selection of a reward tetromino from a list of available options.

public class SelectRewardAction : GameAction
Inheritance
GameAction
SelectRewardAction
Inherited Members
GameAction.Accept(IActionProcessor)

Constructors

SelectRewardAction(List<TetrominoShape>?, TetrominoShape)

Initializes a new instance of the SelectRewardAction class.

public SelectRewardAction(List<TetrominoShape>? rewardOptions, TetrominoShape selectedReward)

Parameters

rewardOptions List<TetrominoShape>

The list of available tetrominos to choose from as rewards.

selectedReward TetrominoShape

The tetromino selected as the reward.

Properties

RewardOptions

The list of available tetrominos to choose from as rewards.

public List<TetrominoShape>? RewardOptions { get; }

Property Value

List<TetrominoShape>

SelectedReward

The tetromino selected as the reward.

public TetrominoShape SelectedReward { get; }

Property Value

TetrominoShape