working UV simulation using alpha channel

This commit is contained in:
minjaesong
2017-07-12 02:35:36 +09:00
parent 1e9c04d7c0
commit bad6ff296a
30 changed files with 94 additions and 97 deletions

View File

@@ -11,13 +11,13 @@ class WeaponSwung(val itemID: Int) : ActorWithPhysics(Actor.RenderOrder.MIDTOP),
/**
* Recommended implementation:
*
override var luminosity: Int
override var color: Int
get() = actorValue.getAsInt(AVKey.LUMINOSITY) ?: 0
set(value) {
actorValue[AVKey.LUMINOSITY] = value
}
*/
override var luminosity: Color
override var color: Color
get() = throw UnsupportedOperationException()
set(value) {
}