mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 02:24:05 +09:00
loading player from json file
This commit is contained in:
@@ -77,6 +77,11 @@ class Cvec {
|
||||
set(color)
|
||||
}
|
||||
|
||||
operator fun component1() = r
|
||||
operator fun component2() = g
|
||||
operator fun component3() = b
|
||||
operator fun component4() = a
|
||||
|
||||
/**
|
||||
* Get RGBA Element using index, of which:
|
||||
* - 0: R
|
||||
|
||||
Reference in New Issue
Block a user