mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-08-11 18:09:29 +02:00
[fix] add description for the manageItemMode function
Co-authored-by: Bertie690 <136088738+Bertie690@users.noreply.github.com>
This commit is contained in:
parent
f631072828
commit
e10f0f2ee7
@ -987,6 +987,11 @@ export class PartyUiHandler extends MessageUiHandler {
|
|||||||
return !(this.partyUiMode === PartyUiMode.FAINT_SWITCH || this.partyUiMode === PartyUiMode.REVIVAL_BLESSING);
|
return !(this.partyUiMode === PartyUiMode.FAINT_SWITCH || this.partyUiMode === PartyUiMode.REVIVAL_BLESSING);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Return whether this UI handler is responsible for managing items.
|
||||||
|
* Used to ensure proper placement of mode toggle buttons in the UI, etc.
|
||||||
|
* @returns Whether the current handler is responsible for managing items.
|
||||||
|
*/
|
||||||
private isItemManageMode(): boolean {
|
private isItemManageMode(): boolean {
|
||||||
return this.partyUiMode === PartyUiMode.MODIFIER_TRANSFER || this.partyUiMode === PartyUiMode.DISCARD;
|
return this.partyUiMode === PartyUiMode.MODIFIER_TRANSFER || this.partyUiMode === PartyUiMode.DISCARD;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user