RewardManagerGetUpgradeOptions Method
Namespace: ProjectLCore.GameManagersAssembly: ProjectLCore (in ProjectLCore.dll) Version: 1.0.0+d0f5e2a7a5f4bb0431970f279d2f79d24b15d256
public static List<TetrominoShape> GetUpgradeOptions(
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 the player wants to trade.
ListTetrominoShape
A list of shapes with
level(shape) <= level(oldShape)+1. If there are no shapes with
level(oldShape)+1 available, the player can choose from the next available level.