RewardManagerGetRewardOptions Method
Gets the shapes the player can choose from as a reward for completing a puzzles with the given shape as reward.
Namespace: ProjectLCore.GameManagersAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public static List<TetrominoShape> GetRewardOptions(
IReadOnlyList<int> numTetrominosLeft,
TetrominoShape shape
)
- numTetrominosLeft IReadOnlyListInt32
- Contains information about how many tetrominos are left in the shared reserve. numTetrominosLeft[shape] gives information about (TetrominoShape)shape.
- shape TetrominoShape
- The shape specified on the puzzle.
ListTetrominoShape- The shape specified on the puzzle if there is at least one left.
- Shapes of the next available level if the given shape isn't available.
- Shapes of all the lower levels if there aren't any shapes with level >= level(shape) available.