All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.almasb.fxgl.entity.level.tiled.Layer.kt Maven / Gradle / Ivy

There is a newer version: 21.1
Show newest version
/*
 * FXGL - JavaFX Game Library. The MIT License (MIT).
 * Copyright (c) AlmasB ([email protected]).
 * See LICENSE for details.
 */

package com.almasb.fxgl.entity.level.tiled

/**
 * Specification: https://github.com/bjorn/tiled/wiki/JSON-Map-Format
 *
 * @author Almas Baimagambetov ([email protected])
 */
data class Layer(var width: Int = 0,
            var height: Int = 0,
            var name: String = "",
            var type: String = "",
            var visible: Boolean = false,
            var x: Int = 0,
            var y: Int = 0,
            var data: List = arrayListOf(),
            var objects: List = arrayListOf(),
            var opacity: Float = 0.0f,
            var draworder: String = "") {

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy