REXLayer

data class REXLayer(width: Int, height: Int, cells: List<REXCell>)

Represents a REX Paint Layer, which contains its size information (width, height) and a List of REXCells.

Constructors

REXLayer
Link copied to clipboard
fun REXLayer(width: Int, height: Int, cells: List<REXCell>)

Types

Companion
Link copied to clipboard
object Companion

Functions

copy
Link copied to clipboard
fun copy(width: Int, height: Int, cells: List<REXCell>): REXLayer
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
getCells
Link copied to clipboard
fun getCells(): List<REXCell>
getHeight
Link copied to clipboard
fun getHeight(): Int
getWidth
Link copied to clipboard
fun getWidth(): Int
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toLayer
Link copied to clipboard
fun toLayer(tileset: TilesetResource): Layer
Returns itself as a REXLayer.
toString
Link copied to clipboard
open override fun toString(): String

Sources

(source)
Link copied to clipboard