LibgdxTileset

class LibgdxTileset(width: Int, height: Int, path: String) : Tileset<SpriteBatch>

Represents a tileset which is backed by a sprite sheet.

Constructors

LibgdxTileset
Link copied to clipboard
fun LibgdxTileset(width: Int, height: Int, path: String)

Types

Companion
Link copied to clipboard
object Companion
TileTextureMetadata
Link copied to clipboard
class TileTextureMetadata(x: Int, y: Int)

Functions

drawTile
Link copied to clipboard
open override fun drawTile(tile: Tile, surface: SpriteBatch, position: Position)
equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
toString
Link copied to clipboard
open fun toString(): String

Properties

height
Link copied to clipboard
open override val height: Int
id
Link copied to clipboard
open override val id: UUID
size
Link copied to clipboard
open val size: Size
targetType
Link copied to clipboard
open override val targetType: KClass<SpriteBatch>
width
Link copied to clipboard
open override val width: Int

Sources

(source)
Link copied to clipboard