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

com.almasb.fxgl.entity.components.IrremovableComponent.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.components

import com.almasb.fxgl.entity.component.Component

/**
 * Marks an entity that cannot be removed from the game world.
 * To remove such entity, this component must be removed first.
 *
 * @author Almas Baimagambetov ([email protected])
 */
class IrremovableComponent : Component() {

    override fun isComponentInjectionRequired(): Boolean = false
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy