cwinter.codecraft.graphics.models.TestModel.scala Maven / Gradle / Ivy
The newest version!
package cwinter.codecraft.graphics.models
import cwinter.codecraft.graphics.engine.{GraphicsContext, WorldObjectDescriptor}
import cwinter.codecraft.graphics.model._
private[graphics] case class TestModel(t: Int)
extends ModelBuilder[TestModel, Unit] with WorldObjectDescriptor[Unit] {
val sideLength = 50
protected def buildModel(context: GraphicsContext): Model[Unit] = EmptyModel
override def isCacheable: Boolean = false
override def signature = this
}