Skip to content

Commit

Permalink
refactor: Rename exitToChoiceMenu method to closeChoiceMenu in GameSt…
Browse files Browse the repository at this point in the history
…epManager
  • Loading branch information
BlackRam-oss committed May 19, 2024
1 parent 8a2d5a2 commit 1bdcded
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/managers/StepManager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -375,14 +375,14 @@ export default class GameStepManager {
* @returns StepLabelResultType or undefined.
* @example
* ```typescript
* GameStepManager.exitToChoiceMenu(yourParams).then((result) => {
* GameStepManager.closeChoiceMenu(yourParams).then((result) => {
* if (result) {
* // your code
* }
* })
* ```
*/
public static async exitToChoiceMenu<T extends {}>(props?: StepLabelPropsType<T>): Promise<StepLabelResultType> {
public static async closeChoiceMenu<T extends {}>(props?: StepLabelPropsType<T>): Promise<StepLabelResultType> {
return GameStepManager.runNextStep(props)
}

Expand Down

0 comments on commit 1bdcded

Please sign in to comment.