Add Type for Texture

This commit is contained in:
CodeSteak 2019-06-02 22:01:32 +02:00
parent ec9c6888fc
commit 1b41132c18
1 changed files with 18 additions and 1 deletions

View File

@ -1,4 +1,21 @@
package org.hso.texturesyncclient.model
import java.util.*
class DataModel {
}
}
enum class TextureFormat {
PNG, JPEG,
}
@Suppress("ArrayInDataClass")
data class Texture(
val id : UUID,
val name : String,
val tags : Array<String>,
val format : TextureFormat,
val resolution : Pair<Int, Int>,
val addedOn : Date,
val textureHash : ByteArray
)