
com.almasb.fxgl.entity.level.Level.kt Maven / Gradle / Ivy
/*
* FXGL - JavaFX Game Library. The MIT License (MIT).
* Copyright (c) AlmasB ([email protected]).
* See LICENSE for details.
*/
package com.almasb.fxgl.entity.level
import com.almasb.fxgl.core.collection.PropertyMap
import com.almasb.fxgl.entity.Entity
/**
* Represents a game level.
*
* @author Almas Baimagambetov ([email protected])
*/
class Level(
/**
* Level width in pixels.
*/
val width: Int,
/**
* Level height in pixels.
*/
val height: Int,
/**
* Level entities.
*/
val entities: List) {
val properties = PropertyMap()
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy