Skip to content

Commit

Permalink
Change name of ResetLayer.ts to GameReset.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
xShadowBlade committed Jun 14, 2024
1 parent 0f46d27 commit c686f40
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
8 changes: 6 additions & 2 deletions src/game/Game.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { EventManager } from "./managers/EventManager";
import { DataManager } from "./managers/DataManager";
import { GameCurrency } from "./GameCurrency";
import { GameAttribute } from "./GameAttribute";
import { GameReset } from "./ResetLayer";
import { GameReset } from "./GameReset";

import type { RequiredDeep } from "./managers/ConfigManager";
import { ConfigManager } from "./managers/ConfigManager";
Expand Down Expand Up @@ -185,6 +185,8 @@ class Game {

/**
* Creates a new game reset object with the specified currencies to reset.
* @deprecated Use the class {@link GameReset} instead.
* This method is a wrapper for the class and does not provide any additional functionality.
* @param args - The arguments for the game reset. See {@link GameReset} for more information.
* @param currenciesToReset The currencies to reset.
* @param extender The extender for the game reset.
Expand All @@ -199,7 +201,9 @@ class Game {
}

/**
* Creates a new game reset object from an object. See {@link GameReset.fromObject} for more information.
* Creates a new game reset object from an object.
* @deprecated Use the static method {@link GameReset.fromObject} instead.
* This method is a wrapper for the static method and does not provide any additional functionality.
* @param object - The object to create the game reset from.
* @returns The newly created game reset object.
*/
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion src/game/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import "../E/e";
export * from "./Game";
export * from "./GameCurrency";
export * from "./GameAttribute";
export * from "./ResetLayer";
export * from "./GameReset";
export * from "./managers/KeyManager";
export * from "./managers/EventManager";
export * from "./managers/DataManager";
Expand Down

0 comments on commit c686f40

Please sign in to comment.