mirror of
https://github.com/pagefaultgames/pokerogue.git
synced 2025-09-23 23:13:42 +02:00
Ran biome
This commit is contained in:
parent
97d65bb4ab
commit
a766697c19
@ -835,11 +835,7 @@ export class Arena {
|
|||||||
* @param quiet - Whether to suppress removal messages from currently-present tags; default `false`
|
* @param quiet - Whether to suppress removal messages from currently-present tags; default `false`
|
||||||
* @todo Review the other tag manipulation functions to see if they can be migrated towards using this (more efficient)
|
* @todo Review the other tag manipulation functions to see if they can be migrated towards using this (more efficient)
|
||||||
*/
|
*/
|
||||||
public removeTagsOnSide(
|
public removeTagsOnSide(tagTypes: ArenaTagType[] | readonly ArenaTagType[], side: ArenaTagSide, quiet = false): void {
|
||||||
tagTypes: ArenaTagType[] | readonly ArenaTagType[],
|
|
||||||
side: ArenaTagSide,
|
|
||||||
quiet = false,
|
|
||||||
): void {
|
|
||||||
const leftoverTags: ArenaTag[] = [];
|
const leftoverTags: ArenaTag[] = [];
|
||||||
for (const tag of this.tags) {
|
for (const tag of this.tags) {
|
||||||
// Skip tags of different types or on the wrong side of the field
|
// Skip tags of different types or on the wrong side of the field
|
||||||
|
Loading…
Reference in New Issue
Block a user