com.skillw.attsystem.api.read.status.StringStatus.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of AttributeSystem Show documentation
Show all versions of AttributeSystem Show documentation
Bukkit Attribute Engine Plugin.
The newest version!
package com.skillw.attsystem.api.read.status
import com.skillw.attsystem.internal.core.read.BaseReadGroup
/**
* Number status
*
* @constructor Create empty Number status
* @property numberReader
*/
class StringStatus(numberReader: BaseReadGroup) : Status(numberReader) {
override fun clone(): StringStatus {
val attributeStatus = StringStatus(readGroup)
this.forEach {
attributeStatus.register(it.key, it.value)
}
return attributeStatus
}
}