aboutsummaryrefslogtreecommitdiff
path: root/src/main/kotlin/Texture.kt
diff options
context:
space:
mode:
authorJames Barnett <noreply@jamesbarnett.xyz>2020-12-29 20:13:01 +0000
committerJames Barnett <noreply@jamesbarnett.xyz>2020-12-29 20:13:01 +0000
commitad192fe7068081ed88f8616581bf450d601e99b1 (patch)
treee3cda400065c051ee628dbeb85709f778c90311e /src/main/kotlin/Texture.kt
parente816c727624056b91c5ef5152c3121a7f8497c5b (diff)
downloadkotlin-raycaster-ad192fe7068081ed88f8616581bf450d601e99b1.tar.xz
kotlin-raycaster-ad192fe7068081ed88f8616581bf450d601e99b1.zip
Add textures
Diffstat (limited to 'src/main/kotlin/Texture.kt')
-rw-r--r--src/main/kotlin/Texture.kt6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/main/kotlin/Texture.kt b/src/main/kotlin/Texture.kt
new file mode 100644
index 0000000..b4ab881
--- /dev/null
+++ b/src/main/kotlin/Texture.kt
@@ -0,0 +1,6 @@
+data class Texture(
+ val id: Int,
+ val width: Int,
+ val height: Int,
+ val cssColourPixelList: List<String>
+) \ No newline at end of file