17 lines
537 B
Kotlin
17 lines
537 B
Kotlin
package ru.dbotthepony.kstarbound.defs
|
|
|
|
import com.google.common.collect.ImmutableList
|
|
import com.google.common.collect.ImmutableSet
|
|
import ru.dbotthepony.kommons.vector.Vector2d
|
|
import ru.dbotthepony.kstarbound.json.builder.JsonFactory
|
|
|
|
@JsonFactory
|
|
data class TouchDamage(
|
|
val poly: ImmutableList<Vector2d> = ImmutableList.of(),
|
|
val teamType: TeamType = TeamType.ENVIRONMENT,
|
|
val damage: Double = 0.0,
|
|
val damageSourceKind: String = "",
|
|
val knockback: Double = 0.0,
|
|
val statusEffects: ImmutableSet<String> = ImmutableSet.of(),
|
|
)
|