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

cwinter.codecraft.graphics.model.ImmediateModeModel.scala Maven / Gradle / Ivy

The newest version!
package cwinter.codecraft.graphics.model


private[graphics] class ImmediateModeModel
extends DecoratorModel[Seq[Model[Unit]], Unit] {
  private[this] var models = new StaticCompositeModel(Seq())
  def model: Model[Unit] = models

  override def update(params: Seq[Model[Unit]]): Unit =
    models = new StaticCompositeModel(params)

  override protected def displayString: String = "ImmediateMode"
}





© 2015 - 2024 Weber Informatics LLC | Privacy Policy