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

commonMain.it.unibo.alchemist.boundary.webui.common.state.CommonState.kt Maven / Gradle / Ivy

/*
 * Copyright (C) 2010-2023, Danilo Pianini and contributors
 * listed, for each module, in the respective subproject's build.gradle.kts file.
 *
 * This file is part of Alchemist, and is distributed under the terms of the
 * GNU General Public License, with a linking exception,
 * as described in the file LICENSE in the Alchemist distribution's top directory.
 */

package it.unibo.alchemist.boundary.webui.common.state

import it.unibo.alchemist.boundary.webui.common.model.surrogate.PositionSurrogate
import it.unibo.alchemist.boundary.webui.common.renderer.BitmapRenderer
import it.unibo.alchemist.boundary.webui.common.renderer.Renderer
import korlibs.image.bitmap.Bitmap

/**
 * The common state of the client and the server.
 * This class includes common components that both systems need to have.
 * @param renderer the [Renderer] that renders an
 * [it.unibo.alchemist.boundary.webui.common.model.surrogate.EnvironmentSurrogate].
 */
open class CommonState(
    val renderer: Renderer = BitmapRenderer(),
)




© 2015 - 2024 Weber Informatics LLC | Privacy Policy