more mod restructuring
This commit is contained in:
parent
ae94151fb6
commit
f97b0a6562
9 changed files with 34 additions and 35 deletions
|
|
@ -27,6 +27,7 @@ data class Colour(
|
|||
val blue: Float = 0f,
|
||||
val alpha: Float = 1f,
|
||||
) {
|
||||
|
||||
/** True if any value is greater than 1, so the values are hexadecimal. */
|
||||
fun isDecimal(): Boolean {
|
||||
return red > 1f
|
||||
|
|
|
|||
|
|
@ -8,7 +8,7 @@ import kotlinx.serialization.Serializable
|
|||
data class FactorioEvent<out T : FactorioObjectData>(
|
||||
override val modVersion: String,
|
||||
|
||||
/** the initial Factorio event ({defines.events}) trigger */
|
||||
/** the initial Factorio event (`defines.events`) trigger */
|
||||
val eventType: String,
|
||||
/** game time */
|
||||
val tick: UInt,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue