Skip to content

Commit

Permalink
#125: add JvmName again for tag list assignment
Browse files Browse the repository at this point in the history
  • Loading branch information
Simon Klausner committed Nov 27, 2023
1 parent ddaacd1 commit 1b7fec8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/commonMain/kotlin/com/github/quillraven/fleks/entity.kt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package com.github.quillraven.fleks

import com.github.quillraven.fleks.collection.*
import kotlinx.serialization.Serializable
import kotlin.jvm.JvmName

/**
* An entity of a [world][World]. It represents a unique identifier that is the combination
Expand Down Expand Up @@ -152,6 +153,7 @@ open class EntityCreateContext(
/**
* Sets all [tags][EntityTag] on the given [entity][Entity].
*/
@JvmName("plusAssignTags")
operator fun Entity.plusAssign(tags: List<EntityTags>) {
tags.forEach { this += it }
}
Expand Down

0 comments on commit 1b7fec8

Please sign in to comment.