mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-07-05 16:02:20 +02:00
Comments so developer doesn't get bugged about garbage collecton
This commit is contained in:
parent
290f3dd8f3
commit
0c122af8fa
@ -2735,6 +2735,7 @@ export default class BattleScene extends SceneBase {
|
||||
/**
|
||||
* This function retrieves the sprite and audio keys for active Pokemon.
|
||||
* Active Pokemon include both enemy and player Pokemon of the current wave.
|
||||
* Note: Questions on garbage collection go to @frutescens
|
||||
* @returns a string array of active sprite and audio keys that should not be deleted
|
||||
*/
|
||||
getActiveKeys(): string[] {
|
||||
|
@ -89,8 +89,7 @@ export default class EggSummaryUiHandler extends MessageUiHandler {
|
||||
this.pokemonIconsContainer.removeAll(true);
|
||||
this.eggHatchBg.setVisible(false);
|
||||
this.getUi().hideTooltip();
|
||||
|
||||
|
||||
// Note: Questions on garbage collection go to @frutescens
|
||||
const activeKeys = this.scene.getActiveKeys();
|
||||
// Removing unnecessary sprites from animation manager
|
||||
const animKeys = Object.keys(this.scene.anims["anims"]["entries"]);
|
||||
|
Loading…
Reference in New Issue
Block a user